[MGNLUI-2464] Asset App Link dialog: if the Asset is deleted it is not possible to remove the entry in the dialog. Created: 29/Nov/13  Updated: 09/Mar/21  Resolved: 09/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: dialogs
Affects Version/s: 5.2
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Tom Wespi Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CE 5.2


Issue Links:
supersession
is superseded by MGNLUI-6573 Improve Content Linking 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   

If in a dialog an asset was chosen and then deleted in the Asset App, the broken UUID does not get overwritten or deleted, even the dialog was saved with an empty value in the link field.

So it throws
2013-11-29 14:55:16,499 ERROR info.magnolia.dam.providers.jcr.JcrAssetProvider : Failed retrieve the asset node from dam workspace for the following node id 91e7267c-78e7-47f7-822b-dc9d8086b642:
javax.jcr.ItemNotFoundException: 91e7267c-78e7-47f7-822b-dc9d8086b642
at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:384)
at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328)
at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622)
at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:536)
at org.apache.jackrabbit.core.SessionImpl.getNodeByIdentifier(SessionImpl.java:1102)
without a chance to remove this error, except adding a new image or delete the property in the JCR Browser.


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