[MGNLUI-793] Pages app crashes when opening some teaser component dialogs Created: 04/Mar/13  Updated: 09/Jul/13  Resolved: 09/Jul/13

Status: Closed
Project: Magnolia UI
Component/s: page editor
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Major
Reporter: Mikaël Geljić Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: alpha3, pageeditor, stk, vaadin7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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   

In Pages app > News & Events, trying to edit News or Events teaser components will crash, throwing a conversion exception like the following:

Caused by: com.vaadin.data.util.converter.Converter$ConversionException: Could not convert value to Long
	at com.vaadin.ui.AbstractField.convertToModel(AbstractField.java:751)
	at com.vaadin.ui.AbstractField.convertToModel(AbstractField.java:722)
	at com.vaadin.ui.AbstractField.setValue(AbstractField.java:500)
	... 104 more
Caused by: com.vaadin.data.util.converter.Converter$ConversionException: Unable to convert value of type java.lang.String to model type class java.lang.Long. No converter is set and the types are not compatible.
	at com.vaadin.data.util.converter.ConverterUtil.convertToModel(ConverterUtil.java:142)
	at com.vaadin.ui.AbstractField.convertToModel(AbstractField.java:748)
	... 106 more

Generated at Mon Feb 12 08:40:21 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.