-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.19.8, 7.19.9, 7.19.10, 7.19.11, 7.19.12
-
None
-
4
-
Severity 3 - Minor
-
0
-
Issue Summary
This is reproducible on Data Center: (yes)
Starting at version 7.19.8, the webwork velocity module is not rendered when used in user macros, even if it's explicitly enabled in system properties. This change has not been documented in User Macro guides or Confluence objects accessible from Velocity.
Steps to Reproduce
- Set the system properties below:
-Dmacro.required.velocity.context.keys=webwork, htmlUtil
- Start Confluence
- Login as admin
- Define a new User Macro with the below template code:
## @noparams Space name with htmlencoding:</strong> $webwork.htmlEncode($space.name) <br/> Space name with htmlencoding using htmlUtil:</strong>$htmlUtil.htmlEncode($space.name)
- Insert the macro in a page
Expected Results
Both the htmlUtil and webwork should render.
Actual Results
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is related to
-
CONFSERVER-82741 Variables in user macro are not resolved
- Closed