Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.3-milestone-1
-
None
-
Unit
-
Medium
-
N/A
-
N/A
-
Description
We can apply a sheet to a document translation thanks to XWIKI-8605 but the $doc Velocity variable points to the translated document instead of the default translation and so the objects are not found and the sheet doesn't display the expected information. The workaround is to use:
#set ($doc = $xwiki.getDocument($doc.documentReference))
in order to get the default translation in the sheet and access the objects (which are shared among document translations but are accessible only from the default translation).
Attachments
Issue Links
- is related to
-
XWIKI-8605 Editing a document in french, or other language provided as translation, doesn't use the provided sheet
- Closed
- relates to
-
XWIKI-9617 Object properties are not saved when editing a document translation inline
- Open