Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
12.6.1, 12.7
-
High
-
Unknown
-
N/A
-
N/A
-
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
- is related to
-
XWIKI-17526 Add an extension point for the document content footer
- Closed