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

InlineEnclosure are piling up on each render

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6.0, 1.5.10
    • Fix Version/s: 6.7.0, 1.5.11
    • Component/s: wicket
    • Labels:
      None

      Description

      InlineEnclosureHandler#resolve() uses an auto-incremented id for its resolved InlineEnclosure,

      On the next render, a new instance will be resolved, since the id of the already resolved InlineEnclosure does not match the id in the markup.

      But InlineEnclosures are not removed after render as other auto-components, thus all instances pile up in the owning container of the markup.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mgrigorov Martin Grigorov
                Reporter:
                svenmeier Sven Meier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: