[MGNLUI-7016] Importing workspace data throws an exception and cannot close the import dialog Created: 18/Jan/22  Updated: 27/Jan/22  Resolved: 24/Jan/22

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.15
Fix Version/s: 6.2.16

Type: Bug Priority: Neutral
Reporter: Canh Nguyen Assignee: Canh Nguyen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File countries.yaml     File ct-countries.yaml    
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
Sprint: DevX 1, DevX 2
Story Points: 2

 Description   

Steps to reproduce

  1. Create a content type and a file without node name (e.g. countries.yaml) to import multiple items from root to the content type.
  2. Open import dialog and import the data file.

.. Logs, screenshots, gifs...

Expected results

Data is imported and the dialog should be closed.

Actual results

Data is imported but an error is thrown and the dialog is not closed.

Workaround

Development notes

info.magnolia.ui.contentapp.action.JcrImportAction#execute tries to set a node to valueContext but the node name is empty.


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