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

InheritanceNodeWrapper.deepUnwrap() should unwrap also source nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 4.5.9
    • 4.5.8
    • core
    • None

      To reproduce do the following:

      • create new (noComponent) area "test" in default site def prototype (see attached area definition)
      • render the area in the main.ftl
      • create testArea.ftl in templates workspace and enter cmsfn.decode(content).test!"no content yet"
      • go to jcr view and create property "test" below the "test" area node and insert some html as value, e.g. <del>HTML</del>
      • view the main page -> html gets decoded correctly
      • view a sub page -> html gets not decoded

      See screen shots on SUPPORT-2310.

      Caused by: DelegateNodeWrapped.deepUnwrap() unwraps itseft but not InheritanceContentDecorator's source nodes in case of DestinationNodeInheritanceNodeWrapper.

        Acceptance criteria

              rkovarik Roman Kovařík
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD