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

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5
    • Component/s: None
    • Labels:
      None
    • Magnolia Release:
      4.5

      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

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

              Dates

              Created:
              Updated:
              Resolved: