Details
Description
To reproduce:
- in a comment enter the content
{{groovy}}print "toto"{{/groovy}}
- save
-> you end up with
Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
instead of the expected
Failed to execute the [groovy] macro. Cause: [The execution of the [groovy] script macro is not allowed in [xwiki:Main.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
Regression caused by XRENDERING-621: since the default error displayer is implemented in a template and use a velocity macro, it's broken by the restricted context...
Attachments
Issue Links
- is caused by
-
XRENDERING-621 Make rendering errors translatables and extendables
- Closed