DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39509>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39509





------- Additional Comments From [EMAIL PROTECTED]  2007-05-14 06:39 -------
(In reply to comment #2)
> Created an attachment (id=20179)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20179&action=view) 
[edit]
> Test plan to show the bug
> 

I have not been able to make a patch for this problem, mainly because I am not
sure how the correct behaviour would be.
Below is some of my thoughts after working on this, in case someone else are
going to have a look at this bug.

To me, the problem seems to be related to InterleaveController, and the way that
controller increases iteration count, and is being reinitialized.

The OnlyOnceController has an if test : "if (event.getIteration() == 1) {".
But for the InterleaveController, the first "iteration count" is 0, while for
LoopController it is 1, because LoopController overrides "getIterCount".

The "InterleaveController" also never resets the iteration count, so you will
only once get the "iteration count" equal to 1 from a InterleaveController.
The LoopController resets the iteration count, so for each time the loop is
entered, the OnlyOnceController is executed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to