[
https://issues.apache.org/jira/browse/WICKET-6523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sven Meier resolved WICKET-6523.
--------------------------------
Resolution: Fixed
Assignee: Sven Meier (was: Maxim Solodovnik)
Fix Version/s: 8.0.0-M9
Timers are now identified by their component's markupId and behaviorId,
subclasses can override getTimerId() to use some other means.
This 'timerId' is kept until the timer has fired or the behavior is stopped.
A timer's handle is now cleared as soon as it triggers, the behavior will set a
new timeout if it's no yet stopped.
restart() restarts the timer as its name suggests,
> Two AbstractAjaxTimerBehaviors on same component timeId conflict
> ----------------------------------------------------------------
>
> Key: WICKET-6523
> URL: https://issues.apache.org/jira/browse/WICKET-6523
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.9.0, 8.0.0-M8
> Reporter: Sven Meier
> Assignee: Sven Meier
> Priority: Minor
> Fix For: 8.0.0-M9
>
>
> When two or more AbstractAjaxTimerBehaviors are added two the same component,
> they use an identical timerId (= markupId).
> This can lead a stopping behavior erroneously stopping the other behavior
> instead of itself.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)