[MGNLPN-184] Switching to original of a page in page preview jumps back to variant Created: 19/Aug/14 Updated: 01/Sep/14 Resolved: 26/Aug/14 |
|
| Status: | Closed |
| Project: | Magnolia Personalization |
| Component/s: | Integration |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.0.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Andreas Weder | Assignee: | Philip Mundt |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | next | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
FF, Safari, Chrome |
||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||
| Description |
Behavior on demoauthor.magnolia-cms.comAs shown in the first screenshot When I attempt to preview the original of that page I've tried the following:
This was reported to me by Boris, who used our online demo to create the example shown in order to prepare a demo. How to reproduce on localhostInstead of using the segment "EMEA" simply "attach" a date trait with the date set the "today". ReasoningThe info.magnolia.personalization.variant.RegistryVariantResolver used in the info.magnolia.personalization.filter.VariantResolverFilter will detect "the right" variant. The example above on demoauthor.magnolia-cms.com works because the client IP address is actually an EMEA address (Swiss). Suggested solution
We should use the GET parameter mgnlVariant to identify a needed bypass of the filter as this parameter is not used in the PreviewApp. |