[MGNLPN-515] Exception on Choose Audience action Created: 11/Dec/20  Updated: 28/Jan/21  Resolved: 28/Jan/21

Status: Closed
Project: Magnolia Personalization
Component/s: Pages
Affects Version/s: 2.0.4
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Quach Hao Thien Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2020-12-11-14-35-45-229.png    
Issue Links:
supersession
is superseded by MGNLUI-6253 Allow MultiFields using jcrChildNodeP... 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

 Description   

Steps to reproduce

  1. Open Pages app (new one)
  2. Select a demo page and click edit
  3. Select a component and click Add component variant, then click Choose audience

Expected results

Choose audience dialog should be displayed

Actual results

ClassCastException throws

Caused by: java.lang.ClassCastException: info.magnolia.personalization.ui.TraitRuleEntryResolution$$Lambda$1893/403987890 cannot be cast to info.magnolia.ui.editor.MultiFormDefinitionCaused by: java.lang.ClassCastException: info.magnolia.personalization.ui.TraitRuleEntryResolution$$Lambda$1893/403987890 cannot be cast to info.magnolia.ui.editor.MultiFormDefinition at info.magnolia.ui.editor.ByIndexedChildNodes.<init>(ByIndexedChildNodes.java:202) ~[magnolia-ui-framework-jcr-6.2.6-SNAPSHOT.jar:?] at info.magnolia.ui.editor.ByIndexedChildNodes.<init>(ByIndexedChildNodes.java:213) ~[magnolia-ui-framework-jcr-6.2.6-SNAPSHOT.jar:?] at info.magnolia.personalization.ui.TraitRuleEntryResolution.<init>(TraitRuleEntryResolution.java:72) ~[magnolia-personalization-core-2.0.4.jar:?]

Workaround

Development notes



 Comments   
Comment by Quach Hao Thien [ 17/Dec/20 ]

fixed by MGNLUI-6253

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