You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martijn Dashorst (JIRA)" <ji...@apache.org> on 2007/06/06 23:01:41 UTC

[jira] Closed: (WICKET-621) detach() is not called when nested object is IDetachable but not IModel in CompoundPropertyModel

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