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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.33
    • None
    • None
    • None
    • Yes
    • Yes
    • DevX 50, DevX 51
    • 3
    • Yes

      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. 

        Acceptance criteria

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

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

                Created:
                Updated:
                Resolved:
                Work Started:

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