Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4810

Wrappers don't wrap everything what should be wrapped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.9
    • None
    • core
    • None

    Description

      info.magnolia.jcr.wrapper.ChildWrappingNodeWrapper should wrap every returned node, but it doesn't wrap nodes returned by methods getParent and getAncestor.
      Also it doesn't wrap session which is returned by method getSession. So if we call wrappedNode.getSession.getNode returned node is not wrapped. Similarly applies to workspace.

      info.magnolia.jcr.wrapper.PropertyAndChildWrappingNodeWrapper should wrap every returned property, but it doesn't wrap nodes returned by setProperty(*) methods.

      info.magnolia.jcr.wrapper.WrappingPropertyWrapper should also wrap every returned node and property not only nodes and properties acquired via references.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                jsimak Jaroslav Simak
                mdivilek Milan Divilek
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD