[MGNLPN-71] Preview app should have path to original node as parameter Created: 09/Apr/14 Updated: 15/Apr/14 Resolved: 15/Apr/14 |
|
| Status: | Closed |
| Project: | Magnolia Personalization |
| Component/s: | Preview App |
| Affects Version/s: | None |
| Fix Version/s: | 1.0 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Roman Kovařík | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| 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: | |
| Epic Link: | Personalisation |
| Sprint: | 5.3 Sprint 6 |
| Description |
|
Caused by When we switch to a variant in the preview app, we don't have the path to parent node anymore:
http://localhost:8080/magnoliaAuthor/.magnolia/admincentral#app:preview:detail;/demo-project/variants/variant-0:view::previewCountry=cz
|
| Comments |
| Comment by Roman Kovařík [ 10/Apr/14 ] |
| Comment by Roman Kovařík [ 10/Apr/14 ] |
| Comment by Philip Mundt [ 15/Apr/14 ] |
|
location.updateNodePath(node.getPath()); has to be called even if the underlying node is not a mgnl:variant. Currently, the node path will only be updated for variant nodes. |
| Comment by Philip Mundt [ 15/Apr/14 ] |
|
Please add this test to verify (see attachement). |
| Comment by Roman Kovařík [ 15/Apr/14 ] |