[MGNLDAM-905] Changing value to null in damLinkField causes NPE Created: 27/Oct/20  Updated: 04/Nov/20  Resolved: 29/Oct/20

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

Type: Bug Priority: Major
Reporter: Christian Ringele Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLUI-6126 LinkField: Error if linked by path bu... 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
Epic Link: UI framework implementation
Sprint: UI FW 14
Story Points: 2

 Description   

When I open a Text and Image dialog, with a deleted image, the link appears right, with the trash icon. But when I try to change to an empty value using mouse and keyboard, not using select another, I get red error and this trace: (Verbatim copy of this comment)

DEV notes:

  • this is not related to deleted items, i.e. selecting nothing (picking the first empty line from the list) in linkfield causes valueChange on preview with null value.

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