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

The "Translated into" page meta data is not shown anymore

    Details

    • Development Priority:
      High
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Starting with XWIKI-17526 the "Translated into" page meta data is not shown anymore (below the "Created by" meta data) when you look at a page translation. Follow these steps to reproduce:

      • enable multilingual with English and French as supported languages
      • create a new page with user U1 in English
      • translate the previous page in French using a different user U2
      • look for the "Created by" meta data while on the French translation

      It shows only when the default translation was created but it doesn't say when the French translation was created (the "Translated into" meta data).

       

      The issue seems to be that $tdoc is not correctly set when the UIX is executed. If you output:

      $tdoc.realLocale $doc.realLocale
      

      in the "Executed Content" property of XWiki.PageAuthorsUIX you get "en en" while looking at the French translation. While if you output the same from the content of the page itself you get "fr en" as expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                mflorea Marius Dumitru Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: