[MGNLUI-6990] Not Uploading An Asset To A Custom DAM Upload Field In Dialogs Causes An Error Created: 15/Dec/21  Updated: 10/Oct/22  Resolved: 24/Jan/22

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

Type: Bug Priority: Neutral
Reporter: Julian Nodarse Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: VN-Testing, nucleus
Remaining Estimate: Not Specified
Time Spent: 3h
Original Estimate: Not Specified

Attachments: File error.rtf     Text File error.txt     HTML File field_example    
Issue Links:
Problem/Incident
is caused by MGNLDAM-939 JCR DAM has fixed nodetypes for node ... Closed
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
Release notes required:
Yes
Date of First Response:
Epic Link: jcrChildNodeProvider creates nodes for unselected subforms
Sprint: Nucleus 2
Story Points: 0
Team: Nucleus

 Description   

Steps To Reproduce

  • Add an upload field for assets to a dialog (can be a content app dialog or a page dialog - I've attached a sample field)
  • Open this dialog
  • Try to save the dialog without making any changes.

Expected Result
The dialog closes without any issues

Actual Result
Magnolia will throw the error attached.

error.txt error.rtf

Other Notes
Tested on most recent Magnolia version.
Happens on page dialogs and content app dialogs.



 Comments   
Comment by Roman Kovařík [ 17/Dec/21 ]
Comment by Roman Kovařík [ 22/Dec/21 ]

This issue most likely pops up due to MGNLDAM-939 which properly fixes the node type.

In other words the issue might be in for a long time, just hidden due to the usage of an incorrect node type (fixed by MGNLDAM-939.

Comment by Adam Siska [ 24/Jan/22 ]

RN for both MGNLUI-6990 and MGNLUI-6991:
DamUploadView works also without required flag and once uploaded and saved file could be removed from existing asset.

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