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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 11.10.3
    • Fix Version/s: None
    • Component/s: Office
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

                Created:
                Updated:
                Resolved: