Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
None
-
2.2.3
-
None
-
Unknown
-
Description
For personal macros for example to test before an admin save it to provide it to all users.
To support it in velocity (less needed in other languages since they need programming right to work anyway) DefaultWikiMacro#execute needs to put the Map<String, Object> macroContext in the VelocityContext (as well as the context).
To be more clear, having:
$macro == $context.macro
Attachments
Issue Links
- duplicates
-
XWIKI-5356 Cannot access macro parameters if wiki macro document was not saved with programming rights
- Closed