You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2010/01/14 19:51:54 UTC

[jira] Updated: (WICKET-2660) Wickettester executeAllTimerBehaviors executes stopped behaviors too

     [ https://issues.apache.org/jira/browse/WICKET-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-2660:
------------------------------------

    Attachment: WICKET-2660.patch

> 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
>         Attachments: WICKET-2660.patch
>
>
> 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.