You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2013/05/25 22:16:20 UTC
[jira] [Resolved] (WICKET-5205) AbstractAjaxBehavior.unbind does
not clean stored reference to host component
[ https://issues.apache.org/jira/browse/WICKET-5205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-5205.
--------------------------------
Resolution: Fixed
Fix Version/s: 7.0.0
6.9.0
> AbstractAjaxBehavior.unbind does not clean stored reference to host component
> -----------------------------------------------------------------------------
>
> Key: WICKET-5205
> URL: https://issues.apache.org/jira/browse/WICKET-5205
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.5.0, 7.0.0
> Reporter: Denis Shokhalevich
> Assignee: Sven Meier
> Fix For: 6.9.0, 7.0.0
>
>
> Reference to a component stored on bind does not cleaned properly on unbind.
> Instead, local paremeter is cleaned:
> /** the component that this handler is bound to. */
> private Component component;
> @Override
> public final void bind(final Component hostComponent)
> {
> ...
> component = hostComponent;
> ...
> }
> @Override
> public final void unbind(Component component)
> {
> onUnbind();
> component = null;
> super.unbind(component);
> }
> It prevents reusing AbstractAjaxBehavior.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira