Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4296 jcr: wrappers
  3. MAGNOLIA-4330

DelegateNodeWrapper#deepUnwrap(Class) should not updated reference to wrapped

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Major
    • 4.5
    • None
    • None
    • None

    Description

      Updating the internally kept reference to the wrapped node is unwanted behavior. The reference should always stay as is but a clone with an adapted reference should be returned.

      As there's currently no tests for this type they should be added as well to protect from unwanted side-effects.

      Attachments

        Activity

          People

            had Jan Haderka
            dlipp Daniel Lipp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: