[MGNLDAM-926] Direct asset upload might be saved into the parent page Created: 19/Jan/21  Updated: 21/Jan/21  Resolved: 20/Jan/21

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: 3.0.5
Fix Version/s: 3.0.5

Type: Bug Priority: Blocker
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 3h 56m
Original Estimate: Not Specified

Attachments: File Kazam_screencast_00002.mp4     PNG File Screenshot 2021-01-18 at 14.58.12.png    
Issue Links:
Relates
relates to MGNLUI-6515 Chooser injects observation of the un... Closed
relation
is related to MGNLDAM-856 Add Upload and Edit to Asset chooser 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
Epic Link: Upload Files via Asset Chooser
Sprint: UI FW 20
Story Points: 5

 Description   

Steps to reproduce 

Kazam_screencast_00002.mp4

Expected results

The asset link is stored in the edited component.

Actual results

The asset link is stored in the edited page.

Workaround

Seems random (timing issue) or requires exact steps?

Development notes

The manual observation triggered after upload refreshes the underlying page as well.

Looks like the asset datasource observation is not defined in the module descriptor so the page editor observation is injected instead (Thus shared in both page/asset datasource!).

As the page editor observation does a computation of selecting a proper page element, this might cause this issue.



 Comments   
Comment by Roman Kovařík [ 19/Jan/21 ]

Related discussion: https://magnolia-cms.slack.com/archives/CDF00BHMH/p1610953897016200

Generated at Mon Feb 12 05:04:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.