[MGNLUI-2596] DAM Upload component allows to upload image under image Created: 17/Jan/14  Updated: 04/Feb/14  Resolved: 03/Feb/14

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.0
Fix Version/s: 5.2.2

Type: Bug Priority: Neutral
Reporter: Richard Unger Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: maintenance, support, ux
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
dependency
depends upon MGNLDAM-382 DAM Upload component allows to upload... Closed
relation
is related to MAGNOLIA-5655 Add UI test covering actions in Secur... 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
Date of First Response:

 Description   

When uploading content via the Upload function in the DAM chooser you can upload an image into another image.

Steps to reproduce:

  • log into demo.magnolia-cms.com
  • navigate to a page with an image, eg /demo-project/about/history
  • edit a component with an image
  • Click "Select Another" to change the image
  • Highlight an existing image in the picker dialog
  • Select "Upload" in the picker dialog
  • Choose an image to upload and upload it

Result: image will be uploaded under another image

Expected Result: "Upload" button should not be clickable if the selection is not a folder



 Comments   
Comment by Daniel Lipp [ 30/Jan/14 ]
  • Do we really need another ChooseDialogEventBus? There's already info.magnolia.ui.api.event.ChooseDialogEventBus and now we add info.magnolia.ui.dialog.choosedialog.eventbus.ChooseDialogEventBus - same class name but different event-bus name...
  • Changes to ContentApp need to be covered by unit-tests
Generated at Mon Feb 12 08:58:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.