[MGNLPN-304] Can't use linkfield for setting values of a trait in preview app Created: 20/Jul/16  Updated: 21/Feb/17  Resolved: 17/Feb/17

Status: Closed
Project: Magnolia Personalization
Component/s: Preview App
Affects Version/s: 1.2.4, 1.3.2, 1.4.2
Fix Version/s: 1.2.10, 1.3.3, 1.4.3

Type: Bug Priority: Neutral
Reporter: Edwin Guilbert Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia 5.4.7


Attachments: PNG File previewTrait1-attachment.png     PNG File previewTrait2-attachment.png     PNG File trait-attachment.png    
Issue Links:
Relates
supersession
supersedes MGNLPN-361 Preview as visitor: field event is no... Closed
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
Sprint: Kromeriz 84
Story Points: 3

 Description   

Using a linkfield for choosing a trait's value fails on preview as visitor app.
Steps to reproduce:

  1. Configure the "rule field" as a linkfield, like shown in trait-attachment (it doesn't matter which appName and targetWorkspace you choose)
  2. Configure the "value field" as a linkfield, like shown in trait-attachment (it doesn't matter which appName and targetWorkspace you choose)
  3. Select this trait in the choose audience of any variant you may have. -> this works.
  4. Select preview as visitor on the personalised page.
  5. Try to use the trait (with the linklist field) and select an item from the content app configured->this will do nothing:
    /.magnolia/admincentral#app:preview:detail;/travel/contact:view::previewPersona=/

    (See previewTrait1-attachment)

  6. Try to use the trait again and select another item from the content app->this will make the preview to show the variant corresponding to the item selected in the previous step and not the current one:
    /.magnolia/admincentral#app:preview:detail;/travel/contact:view::previewPersona=/:previewUserGroup=/admin/eric

    (See previewTrait2-attachment)



 Comments   
Comment by Edwin Guilbert [ 20/Jul/16 ]

Sample trait config for ruleField and valueField

Comment by Edwin Guilbert [ 20/Jul/16 ]

Screenshot of the linkfield not working on the preview app when selecting an item

Comment by Edwin Guilbert [ 20/Jul/16 ]

Screenshot of the preview app rendering a wrong trait value when selecting a new item on the linkfield

Generated at Mon Feb 12 06:36:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.