Infinite loop when upgrade Velocity to 1.6.2
--------------------------------------------
Key: VELOCITY-770
URL: https://issues.apache.org/jira/browse/VELOCITY-770
Project: Velocity
Issue Type: Bug
Components: Engine
Affects Versions: 1.6.x
Reporter: Siri C.
Priority: Critical
I have replace a velocity from version 1.5 to 1.6.2 and encounter infinite loop
when use with IteratorTool
This code is worked with version 1.5
#set($limit = 2)
#set ($listForIter = [1,2,3,4,5,6,7,8,9,10])
#set ($numbersSet = $iterator.wrap($listForIter))
#foreach ($counter in $numbersSet)
#if ($counter <= $limit)
$numbersSet.more()
#end
#end
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]