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

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

      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?

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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