[MGNLDEMO-187] active, cultural and offPath cookies don't work in preview Created: 26/Sep/16  Updated: 15/May/17  Resolved: 15/May/17

Status: Closed
Project: Magnolia Demo Projects
Component/s: magnolia-travels
Affects Version/s: 0.14
Fix Version/s: 1.1.4

Type: Task Priority: Neutral
Reporter: Antti Hietala Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLPN-383 Bypass trait detecting filters while ... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: PN: Get started with p13n
Sprint: Kromeriz 96
Story Points: 3

 Description   

The active, cultural and offPath tour types do not work in preview-as-visitor. The Featured Tours component on the travel home page does not react to preview cookies. The component always displays Active tours regardless of what cookie box you check.

Don't bootstrap the active, cultural and offPath cookie options as traits. Remove the boostrap files from travel-demo-component-personalization. They just confuse the user. Leave the "any" bootstrap in place since it has an actual impact on the page when previewed.

For background Federico's comment from the MGNLDEMO-181 pull request that created these bootstraps:

The Preview app works as it is supposed to work. In our case it matches the only mgnl:ruleSet we have for the Featured tours component, which eventually reacts to a cookie tourType=any. That means that, whatever option you choose, no matter if cultural, active or offbeat you always get the Active featured tours which are sort of default in this case.


Generated at Mon Feb 12 05:17:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.