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

Cache always returns the first component variant that was requested by in the headless way

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 2.1
    • None
    • None

    Description

      Steps to reproduce

      1.  Create page with two component variants, assign cookie trait to the first variant, header trait to the second variant
      2.  Request a page with component variant + cookie trait via rest delivery endpoint
      3.  Make a request again, with a header trait

      Expected results

      Second (header) variant is returned.

      Actual results

      First (cookie) variant is returned.

      Workaround

      Disable cache.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                jsimak Jaroslav Simak
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:

                  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.2h
                      0.2h