Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-757

@ancestor allows retrieving nodes regardless configured rootPath

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.2.23
    • 2.2.22
    • None
    • None

      Steps to reproduce

      Use the attached endpoint which configures rootPath as /sportstation

      1. Request http://localhost:8080/magnoliaPublic/.rest/pages
      2. Request http://localhost:8080/magnoliaPublic/.rest/pages?@ancestor=/travel

      Expected results

      Nodes are returned according to the configured rootPath

      1. nodes under /sportstation are returned
      2. no nodes are returned

      Actual results

      Nodes are returned regardless rootPath when ancestor is set as parameter

      1. nodes under /sportstation are returned
      2. all nodes under travel are returned

      Workaround

      Development notes

        Acceptance criteria

              anh.vu Anh Vu
              jayala Jonathan Ayala
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 6d 6.25h
                    6d 6.25h