[MGNLPN-237] Preview-as-visitor throws a JSON error on public instance Created: 24/Nov/15 Updated: 02/May/17 Resolved: 22/Jan/17 |
|
| Status: | Closed |
| Project: | Magnolia Personalization |
| Component/s: | Preview App |
| Affects Version/s: | 1.2.8, 1.3.1, 1.4.1 |
| Fix Version/s: | 1.2.9, 1.3.2, 1.4.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Antti Hietala | Assignee: | Evzen Fochr |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d | ||
| Original Estimate: | Not Specified | ||
| 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: | |||||||||||||||||||||
| Sprint: | Kromeriz 80 | ||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||
| Description |
|
The preview-as-visitor function throws a JSON error on public instances. To reproduce:
Full stack trace attached: stacktrace.txt The error is specific to public instances. It is not thrown on an author instance. The error was discovered by a client who wanted to verify that their variants were published/exported correctly. So there is a valid use case why previewing as visitor should work on public instances. It is not an author-instance-only task. The error is not related to travel demo content. I was able to reproduce it without demo modules too. |
| Comments |
| Comment by Roman Kovařík [ 18/Jan/17 ] |
|
Reopened: the fix prevent the error but unfortunately but the preview doesn't work. |
| Comment by Evzen Fochr [ 19/Jan/17 ] |
|
VERSION 1.2.9 must be included as it is for m5.4 w/o cp. |