[MGNLPN-525] Legacy preview app don't start with custom trait Created: 02/Mar/21  Updated: 02/Mar/21  Resolved: 02/Mar/21

Status: Closed
Project: Magnolia Personalization
Component/s: Preview App
Affects Version/s: 2.0.5
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Frank Sommer Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File config.modules.migusto-p13n.traits.week.xml     PNG File image-2021-03-02-13-34-45-174.png    
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.  import config.modules.migusto-p13n.traits.week.xml in https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:configuration;/modules/personalization-traits/traits:edit
  2.  try to open the personalisation preview app
    1. UI-6 preview app (preview-app) works
    2. UI-5 preview app (perview) doesn't work

Expected results

UI-5 legacy preview app should work.

Actual results

with stacktrace

Caused by: com.vaadin.v7.data.util.converter.Converter$ConversionException: Unable to convert value of type com.vaadin.v7.data.util.PropertysetItem to presentation type interface java.util.Set. No converter is set and the types are not compatible.
at com.vaadin.v7.data.util.converter.ConverterUtil.convertFromModel(ConverterUtil.java:128) ~[vaadin-compatibility-server-8.9.4.jar:8.9.4]
at com.vaadin.v7.ui.AbstractField.convertFromModel(AbstractField.java:708) ~[vaadin-compatibility-server-8.9.4.jar:8.9.4]
at com.vaadin.v7.ui.AbstractField.convertFromModel(AbstractField.java:693) ~[vaadin-compatibility-server-8.9.4.jar:8.9.4]
at com.vaadin.v7.ui.AbstractField.setPropertyDataSource(AbstractField.java:630) ~[vaadin-compatibility-server-8.9.4.jar:8.9.4]

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