Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17414

Office Importer Template is not available when language is not english

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 11.10.3
    • Office
    • None
    • Unknown

    Description

      The following code in createinline.vm

      #if ($xwiki.exists($services.model.createDocumentReference('', 'XWiki', 'OfficeImporter')) && "$!services.officemanager.serverState" == 'Connected')

      Is incorrect because serverState returns a translated string and not a fixed value in all languages.

      Either it needs to be checked based on the translation string or another API is neeed

      Attachments

        Issue Links

          Activity

            People

              ludovic Ludovic Dubost
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: