[MGNLUI-6829] Opening up a link field pointing to a removed item throws ClassCastException and renders cancel button disabled Created: 20/Aug/21  Updated: 02/Nov/21  Resolved: 01/Nov/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.11
Fix Version/s: 6.2.13

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Jaromir Sarf
Resolution: Fixed Votes: 0
Labels: VN-Testing, maintenance, ui-team-support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File stack-trace.log    
Issue Links:
Problem/Incident
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Sprint: UI FW 39, UI FW 40
Story Points: 3

 Description   

Steps to reproduce

  1. Delete https://demo.magnolia-cms.com/.magnolia/admincentral#app:jcr-browser-app:browser;/travel/meta/search-results::
  2. Edit page properties of https://demo.magnolia-cms.com/.magnolia/admincentral#app:pages-app:detail;/travel:edit
  3. Go to the Search tab
  4. Click on "Select new" button
  5. Check the layout buttons have been disabled

Expected results

The Close and Commit button are enabled

Actual results

Both buttons get disabled

Workaround

Select an item.

Development notes

Check attachments to see the exception is thrown when "Select New" button is clicked
info.magnolia.ui.editor.converter.MissingNode#isNode should likely return true.
Test how this change behaves in jcrMultiValueField



 Comments   
Comment by Adam Siska [ 21/Oct/21 ]

Reopened due to: https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/1915/overview?commentId=87329

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