Wickettester executeAllTimerBehaviors executes stopped behaviors too
--------------------------------------------------------------------

                 Key: WICKET-2660
                 URL: https://issues.apache.org/jira/browse/WICKET-2660
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.5
            Reporter: Robert Dahlström


When attempting to test a page with two ajax timer behaviours the first 
behaviour is triggered correctly. Then that behaviour is stopped (using the 
stop function) and a second behaviour is started. If executeAllTimerBehaviors 
is called again both behaviours are triggered even though one is stopped.

It would be good if the code in 
BaseWicketTester.executeAllTimerBehaviors(MarkupContainer container) could 
validate if the behaviour is stopped or not before trying to execute it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to