Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-561

Treat depth of variants to be the same as depth of original node when getting all personalized variants from REST

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 2.1
    • 2.1
    • None
    • None

    Description

      Scenario 1:

      • Delivery API defined with depth 0
      • Page A with variants X, Y
      • User requests A with ?variants=all parameter included in the request
      • API returns only page A

      Scenario 2:

      • Delivery API defined with depth 2
      • Page A with variants X, Y
      • User requests A with ?variants=all parameter included in the request
      • API returns page A and variants X, Y**
      • That happens because variant depth is always depth of A + 2

      Question: Should API return variant pages in scenario 1?

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jsimak Jaroslav Simak
                jsimak Jaroslav Simak
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 0.25d
                      0.25d