[MGNLDAM-247] Choosing nothing in choose dialog throws exception when saving Created: 05/Jun/13  Updated: 17/Jun/13  Resolved: 17/Jun/13

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0

Type: Task Priority: Neutral
Reporter: Tobias Mattsson Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Sprint: RC 1

 Description   

The exception thrown is

Caused by: java.lang.NullPointerException
	at info.magnolia.dam.app.assets.field.builder.AssetLinkFieldBuilder$1$1.onItemChosen(AssetLinkFieldBuilder.java:113)
	at info.magnolia.dam.app.assets.dialog.AssetChooseDialogPresenterFactory$1.onActionExecuted(AssetChooseDialogPresenterFactory.java:74)
	at info.magnolia.ui.vaadin.dialog.BaseDialog.doFireAction(BaseDialog.java:301)
	at info.magnolia.ui.vaadin.dialog.BaseDialog.access$000(BaseDialog.java:67)
	at info.magnolia.ui.vaadin.dialog.BaseDialog$1.fireAction(BaseDialog.java:83)
	... 87 more


 Comments   
Comment by Eric Hechinger [ 17/Jun/13 ]

fixed by the implementation done in MGNLUI-1452

Generated at Mon Feb 12 04:57:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.