[MGNLDAM-755] Error when removing existing path to asset in link field Created: 04/Jun/18  Updated: 06/Jun/18  Resolved: 06/Jun/18

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

Type: Bug Priority: Critical
Reporter: zzz_Philipp Güttler Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File error.log    
Issue Links:
Relates
relates to MGNLUI-4220 LinkFieldFactory used in a Switchable... Closed
duplicate
duplicates MGNLUI-4444 LinkFieldFactory NPE when removing an... 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   

Links to assets can't be removed after set once.

Error in Admincentral

MethodException: Invocation of method valueChange in info.magnolia.ui.form.field.factory.LinkFieldFactory$$Lambda$375/2035320143 failed.
caused by NullPointerException 

Full log: error.log

Steps to reproduce

  1. goto https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:pages:detail;/sportstation/about:edit
  2. edit component "Jumbotron - Header for a page"
  3. goto tab "IMAGE"
  4. under field "Image", select image from assets and save dialog
  5. re-open dialog and remove the previously set path to asset

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