[ 
https://issues.apache.org/jira/browse/WICKET-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Vaynberg closed WICKET-5108.
---------------------------------

    Resolution: Won't Fix
      Assignee: Igor Vaynberg
    
> AbstractPropertyModel does not detach possible model nested inside property 
> path (maybe latest version also?)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-5108
>                 URL: https://issues.apache.org/jira/browse/WICKET-5108
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4.21
>            Reporter: Martin Makundi
>            Assignee: Igor Vaynberg
>         Attachments: patch-optimized.txt
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> AbstractPropertyModel does not detach possible model nested inside property 
> path if target object is not IDetachable itself.
> For example:
> new PropertyModel(pojoMultipleModelBean, "detachableParticularProperty")
> Now AbstractPropertyModel will investigate target pojoModelBean which is not 
> IDetachable because it holds on to multiple models and would not make sense 
> to detach all at same time.
> Fix proposal is that AbstractPropertyModel detach investigates in addition 
> the whole path to the property model whether there are detachable models, and 
> detaches them.

--
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

Reply via email to