Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
2.2.2
-
None
-
Unknown
-
Description
Test case:
Create including document (syntax2.0) put in it:
{{include document="Main.IncludedDocument" context="new"}}
create included document (syntax1.0) put in it:
$doc.getFullName() $doc.getFullName()
(the empty line is necessary)
Render including document, observe stack overflow.
test case 2:
change included document to say:
$thisIsNotAValidVelocityVariable
Render including document, observe printing of lots of html macros in plain text.
notes:
This does not happen if include macro specifies: context="current"
Also this renders okay:
$doc.getFullName()
As does this:
$doc.getFullName() $doc.getFullName()