Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.0 M2
-
None
-
Unit
-
Unknown
-
Description
Consider the following series of script macros on a wiki page:
{{script language="groovy"}}println("1"){{/script}} {{script language="groovy"}}println("2"){{/script}} {{script language="groovy"}}println("3"){{/script}} {{script language="groovy"}}println("4"){{/script}} {{script language="groovy"}}println("5"){{/script}}
This will only output the result of first macro "1".
Interestingly, following execution works without any issues:
{{groovy}}println("1"){{/groovy}} {{groovy}}println("2"){{/groovy}} {{groovy}}println("3"){{/groovy}} {{groovy}}println("4"){{/groovy}} {{groovy}}println("5"){{/groovy}}
And prints the results correctly.
Attachments
Issue Links
- is duplicated by
-
XAWMB-2 In XE-2.0M2,xwiki.virtual=1 causes bugs for groovy scripts using 2.0 Macro Bridge
- Closed