LoadableDeatachableModel onDetach() invoked after nulling the model
-------------------------------------------------------------------
Key: WICKET-2251
URL: https://issues.apache.org/jira/browse/WICKET-2251
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4-RC2
Environment: Any enviroment.
Reporter: Mauro Ciancio
Priority: Minor
In LoadableDeatachableModel code for detach():
@Override
public void detach()
{
if (attached)
{
attached = false;
transientModelObject = null;
onDetach();
}
}
onDetach() is called after nulling the object. So, its impossible to "cleanup"
the model object.
If the onDetach() is invoked before than nulling, it's done.
Greetings!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.