Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-1407

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.3.0, 6.2.33
    • None
    • None
    • None

    Description

      Currently if we exclude a node from inheritance with filter predicate ( using predicateClass property of inheritance definition) his child nodes are still added to the json response.

      Expected behavior would be that once node is filtered out by the filter predicate all it's child nodes to be excluded from inheritance. 

      Checklists

        Acceptance criteria

        Attachments

          1. ExtendedFilteredInheritancePredicate.java
            3 kB
          2. how-jcr-store.png
            how-jcr-store.png
            425 kB
          3. image-2023-10-10-11-37-11-323.png
            image-2023-10-10-11-37-11-323.png
            152 kB
          4. image-2023-10-10-11-39-04-668.png
            image-2023-10-10-11-39-04-668.png
            178 kB
          5. image-2023-10-10-11-39-39-592.png
            image-2023-10-10-11-39-39-592.png
            169 kB
          6. image-2023-10-10-11-40-57-467.png
            image-2023-10-10-11-40-57-467.png
            205 kB
          7. output-when-enable-true-for-parent.png
            output-when-enable-true-for-parent.png
            540 kB
          8. output-when-setting-enable.png
            output-when-setting-enable.png
            510 kB
          9. set-enable-true.png
            set-enable-true.png
            292 kB
          10. set-inheritable-false.png
            set-inheritable-false.png
            334 kB

          Issue Links

            Activity

              People

                canh.nguyen Canh Nguyen
                rdrangovski Riste Drangovski
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 1d 0.5h
                      1d 0.5h