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

Martijn Dashorst closed WICKET-621.
-----------------------------------

    Resolution: Fixed

Changed IModel to IDetachable and added unit tests.

> detach() is not called when nested object is IDetachable but not IModel in 
> CompoundPropertyModel
> ------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-621
>                 URL: https://issues.apache.org/jira/browse/WICKET-621
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta1
>            Reporter: Martijn Dashorst
>            Assignee: Martijn Dashorst
>            Priority: Minor
>             Fix For: 1.3.0-beta2
>
>
> Sometimes you have an object that is not an IModel but only IDetachable and 
> nest that in a CompoundPropertyModel (or a PropertyModel). The detachable is 
> not detached because the CompoundPropertyModel and the AbstractPropertyModel 
> explicitly check on IModel implementations, not IDetachable implementations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to