Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.7
-
Fix Version/s: 8.2-milestone-2, 7.4.4
-
Component/s: Old Core
-
Labels:
-
Tests:Unit
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:
-
Similar issues:
Description
To reproduce:
page1:
{{velocity}} $xwiki.getDocument("page2").getRenderedContent() {{/velocity}}
page2:
{{velocity}} $doc {{/velocity}}
Result: it prints page1 when executed from page1 (instead of page2).
Attachments
Issue Links
- is duplicated by
-
XWIKI-4038 getRenderedContent uses the context document instead of the target document
-
- Closed
-
- relates to
-
XWIKI-9696 The title of the main page of a created wiki is badly displayed in the search results
-
- Closed
-