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

Preview does not apply traits correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an issue
    • Icon: Critical Critical
    • None
    • 1.2.2
    • Preview App
    • None

      The Preview-as-visitor functionality does not apply traits correctly. Magnolia does not serve the variants that it should.

      To reproduce on demo:

      1. Create two variants for /sportstation. The order of variants is important.
        • London: Country=United Kingdom AND Cookie WeatherLocality=London
        • UK: Country=United Kingdom
      2. Preview the page as visitor. Set Country=United Kingdom.
        • Expected: London variant is served. Both variants have equal weight (1 matching trait) so we serve whichever variant comes first (London).
        • Actual: UK variant is served although it is second in the variant order.
      3. Move the UK variant to first place, above London.
      4. Preview as visitor. Set Country=United Kingdom and WeatherLocality=London
        • Expected: London variant is served. London now has more weight (2 matching traits) so we serve it first regardless of variant order.
        • Actual: UK variant is served.

        Acceptance criteria

              Unassigned Unassigned
              ahietala Antti Hietala
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD