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

Regression: can't choose a cookie value when targeting a variant

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.6
    • None
    • None
    • None
    • Kromeriz 151
    • 2

    Description

      MGNLDEMO-286 introduced a regression issue for personalization functionality. The user can no longer pick a cookie trait AND a value for the cookie when targeting a personalized variant. They can only see the list of cookie_value pairs from the Cookie Manager app. Functionality was lost. 

      Reason: Cookie configuration was moved from /modules/personalization-traits to /modules/cookie-manager and the node structure changed. Each cookie can only have a single value in the value property. Before, each cookie could have multiple values.

      This means that users now have to create multiple redundant cookie_value pairs in the Cookie Manager to replicate their old cookie configuration. It also means that users must choose from a long list of cookie_value pairs when targeting a variant.

      Imagine the following scenario:

      Before After
      Cookie: mealType 
      Values: meat, vegetarian, vegan, halal, carrots-only
      mealType_meat
      mealType_vegetarian
      mealType_vegan
      mealType_halal
      mealType_carrots-only

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mdivilek Milan Divilek
                ahietala Antti Hietala
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD