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

Subnodes should not be included in a json response for inherited node that is filtered out by the predicateClass for freemarker

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 6.3.0, 6.2.41
    • None
    • None
    • None
    • Yes
    • DevX 50, DevX 51
    • 3
    • Yes

    Description

      • Extract some API in InheritanceContentDecorator for extend some API in SortAndAddPlaceHolderInheritanceContentDecorator
      • Propose API for info.magnolia.jcr.inheritance.InheritanceContentDecorator.DestinationNodeInheritanceNodeWrapper#setEvaluateChildren to be reused in pages rest. This is needed because the destination node is inherited from the parent (it's not a direct child of the current page node), so we need to evaluate its children
      • This also fix the same problem with inheritance in freemarker (https://jira.magnolia-cms.com/browse/PAGES-1407)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                canh.nguyen Canh Nguyen
                oanh.thai Oanh Thai Hoang
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 22.25d
                      22.25d