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

@ancestor allows retrieving nodes regardless configured rootPath

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 3.0.0, 2.2.23
    • 2.2.22
    • None
    • None

    Description

      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

      Checklists

        Acceptance criteria

        Attachments

          There are no Sub-Tasks for this issue.

          Activity

            People

              anh.vu Anh Vu
              jayala Jonathan Ayala
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 6d 6.25h
                    6d 6.25h