Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.10.3
-
None
-
Unknown
-
N/A
-
N/A
-
Description
To reproduce:
- create a page "services"
- add as content
{{groovy}} print services.class {{/groovy}}
This prints "class services"
This seems to be a wrong interpretation of the JSR223 specification (from XWiki and not from Groovy), the "javax.script.filename" is supposed to contains the name of the attribute which contains the source name but we have actually directly set the name of the source in it (so "services.WebHome" for example).