Description
It actually returns a translation based on the context locale.
It used to return de default document but was broken by XWIKI-6627 and it's too late to fix it now.
I will just deprecated it and introduce a more explicit getTranslatedDocument and find a new name for the proper method that return the default document.
Attachments
Issue Links
- blocks
-
XWIKI-15068 Annotated content rendering is broken on translated documents manipulating objects or attachments
- Closed
-
XWIKI-15078 Display macro cannot manipulate xobject and attachment when the target document is translated
- Closed
-
XWIKI-15080 Chart macro is not putting the right document in the context
- Closed