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

Preview does not apply traits correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not an issue
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: Preview App
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: