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

Context translation document locale is wrong when editing a new translation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 14.10.2
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      The translation context document does not contain the proper information when editing a new translation that does not exist yet: e.g. $tdoc.locale returns an empty value while it should contain the locale of the translation. For the same reason $tdoc.isTranslation() will return false in such case which can be a problem.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: