Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-621

detach() is not called when nested object is IDetachable but not IModel in CompoundPropertyModel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0-beta1
    • 1.3.0-beta2
    • wicket
    • None

    Description

      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.

      Attachments

        Activity

          People

            dashorst Martijn Dashorst
            dashorst Martijn Dashorst
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: