Uploaded image for project: 'Advanced Cache'
  1. Advanced Cache
  2. MGNLADVCACHE-107

Wrong cache keys generated for personalized pages with nested component variants

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 2.1, 2.2.1
    • 2.0.1
    • None
    • None
    • Yes
    • UI Framework 16, UI Framework 17
    • 1

    Description

      Steps to reproduce:

      1. Create original page
      2. Create variant page with date trait, so page variant is always visible (e.g have date range for current month)
      3. Create component inside variant page.
      4. Create variant of that component (now you need to use cookie trait to be able to switch display for the component) - e.g set default provided cookie : weatherLocality : Basel
      5. Time to reproduce the problem: 
        a) no cookie exists --> variant page is displayed (due to date trait) together with original component of that variant page.
        b) add cookie : weatherLocality: Basel --> variant page is again displayed (due to date trait) and original component of variant page is displayed. Of course from logs it is easy to figure out why this is happening (cache is serving based only on page uuid - there is NO component uuid used on key generation)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                miruela Mercedes Iruela
                Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 0d
                      0d
                      Logged:
                      Time Spent - 6h 20m
                      6h 20m