You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Denis Shokhalevich (JIRA)" <ji...@apache.org> on 2013/05/25 14:29:19 UTC
[jira] [Created] (WICKET-5205) AbstractAjaxBehavior.unbind does not
clean stored reference to host component
Denis Shokhalevich created WICKET-5205:
------------------------------------------
Summary: 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
Reporter: Denis Shokhalevich
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