[MGNLUI-3906] Can't drop to top-level items in Content Apps Created: 07/Jun/16  Updated: 08/Mar/21  Resolved: 08/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: content app
Affects Version/s: 5.4.6
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Charles Jones Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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
Date of First Response:

 Description   

TreeViewDropHandler.moveNode() silently fails when the target is a top-level item.

It looks like this was caused by the fix for MGNLUI-3830, which causes container.getParent() to return null.



 Comments   
Comment by Roman Kovařík [ 08/Mar/21 ]

Works on latest https://demo.magnolia-cms.com/.magnolia/admincentral#app:configuration:browser;/untitled:treeview:

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