[MGNLDAM-1218] Introduce imageUrl into chooseAsset Action under JS on 6.3 Created: 10/Jul/23  Updated: 16/Nov/23  Resolved: 24/Oct/23

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

Type: Bug Priority: Neutral
Reporter: Alberto Soto Assignee: Jaromir Sarf
Resolution: Done Votes: 0
Labels: VN-Testing
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 1h Time Spent: 1h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLDAM-1192 Introduce imageUrl into chooseAsset A... Closed
is cloned by MGNLUI-8437 Introduce imageUrl into chooseAsset A... Closed
dependency
depends upon MGNLUI-8013 CKEditor 5 In Progress
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLDAM-1219 Implementation Sub-task Completed Jaromir Sarf  
MGNLDAM-1220 Code review Sub-task Completed Antonín Juran  
MGNLDAM-1221 Pre-Integration QA Sub-task Closed Antonín Juran  
MGNLDAM-1222 QA Sub-task Completed Quach Hao Thien  
MGNLDAM-1223 Provide groovy script for fixing alre... Sub-task 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:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: 6.3 Consolidation
Sprint: Nucleus 47
Story Points: 2
Team: Nucleus
Work Started:
Approved:
Yes

 Description   

 

Steps to reproduce

1 - Introduce a dialog with the following

description:
$type: richTextField
label: Description
height: 600
i18n: true
images: true

2 - Upload an image

3 - Edit the component/page again select the image in the rich text field and trey to change it to other one

Expected results

The image is preselected in the DAM selector dialog

Actual results

Root element in selected

Workaround

The event relies in a java callback executed from the JS side

Development notes

  • magnolia-ui-framework-jcr/src/main/resources/VAADIN/js/filebrowser/plugin.js L50 launches chooseAsset action
  • Additional parameter can be injected with the asset url

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