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

referenceDepth: -1 not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • None
    • None
    • None

      Steps to reproduce

      Go to:
      https://demo.magnolia-cms.com/.magnolia/admincentral#app:resources:browser;/tours/restEndpoints/delivery/tours_v1.yaml
      And add referenceDepth: -1

      Expected results

      As per docs:
      Setting referenceDepth: -1 bypasses the depth limit and returns nodes at any reference depth.
      In https://demo.magnolia-cms.com/.rest/delivery/tours/v1/ image prop should be resolved for tourTypes

      Actual results

      In https://demo.magnolia-cms.com/.rest/delivery/tours/v1/ image prop is not resolved

      Workaround

      Set referenceDepth to number e.g. 100

      Development notes

        Acceptance criteria

              Unassigned Unassigned
              bstaryga Bartosz Staryga
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD