[
https://issues.apache.org/jira/browse/WICKET-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mauro Ciancio closed WICKET-2251.
---------------------------------
The issue has been solved.
Thanks Igor
> 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
> Assignee: Igor Vaynberg
> Priority: Minor
> Fix For: 1.4-RC4
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> 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.