Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.9.3
-
None
-
None
-
Unknown
-
N/A
-
N/A
-
Description
Reproduction steps:
- Setup CR so that CR are merged using Admin user
- Request creation of a new document containing:
{{velocity}} $doc.authors {{/velocity}}
- Merge the changes and access the document
Expected result:
- The doc displays all authors of the doc which are all Admin
Obtained result:
- the doc displays an error saying that the velocity code cannot be executed. Executing this snippet in another doc:
{{velocity}} #set ($myDoc = $xwiki.getDocument('MyDocReference')) ## Put the proper reference here $myDoc.authors {{/velocity}}
shows that guest user is used for some authors