Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
14.4.5, 14.8
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Reproduction steps:
- Create a page with a user having PR with the following snippet:
{{velocity}} #set ($mainDoc = $xwiki.getDocument('Main.WebHome').getDocument()) Main doc archive: $mainDoc.getDocumentArchive($xcontext.getContext()).nodes Clone doc archive: $mainDoc.clone().getDocumentArchive($xcontext.getContext()).nodes {{/velocity}}
Expected result:
- Main doc archive and Clone doc archive have same content
Obtained result:
- Main doc archive have some nodes but Clone doc archive just displays an empty list []
Attachments
Issue Links
- is caused by
-
XWIKI-20124 Errors on creating subwiki from template
- Closed