Details
Description
While it does make sense for $doc.getRenderedTitle() to take into account the sheet URL parameter, it does not when the document is not really the context document and just happen to be a document with the same reference.
One solution to differentiate them more easily would be to clone the XWikiDocument inserted in the XWikiContext, even if it can have a slight performance impact in some cases.
Attachments
Issue Links
- blocks
-
XWIKI-20625 Velocity execution without script right through tree macro
- Closed
- causes
-
XWIKI-21188 Error when deleting a page history range to the latest one, leaving first revision unselected
- Closed
- relates to
-
XWIKI-21332 The document sheet specified in the URL is ignored by the office export and the old PDF export
- Closed