[MGNLDAM-860] DAM chooser browser does not expand folder structure to show preselected value upon opening Created: 16/Jun/20  Updated: 28/Sep/21  Resolved: 21/Jan/21

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

Type: Bug Priority: Major
Reporter: Šimon Demočko Assignee: Roman Kovařík
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: 0.15d
Original Estimate: Not Specified

Attachments: File Kazam_screencast_00001.mp4    
Issue Links:
Relates
relates to MGNLUI-6037 Switching to tree view should expand ... Closed
causality
is causing MGNLDAM-991 DAM chooser NPE for non JCR content i... 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:
Epic Link: UI framework implementation
Sprint: UI FW 20
Story Points: 2

 Description   

Steps to reproduce

  1. Modify mtk's textImage.yaml http://localhost:8080/.magnolia/admincentral#app:resources:browser;/mtk/dialogs/components/textImage.yaml::
    • form: 
        properties:
          linkField:
            $type: linkField
            chooser:
              workbenchChooser:
                appName: dam-chooser
      
  1. Open new pages-app
  2. Create a page
  3. Add Text and Image 
  4. Click select in the linkfield
  5. Choose something
  6. Open up the dialog again

Expected results

The selected value is selected and the folder structure is expanded to show it.

Actual results

The selected value is selected, but you have to expand the folder structure to show the selected value

QA notes

  • m5 converted currently expand, but check it won't break once implementation is introduced


 Comments   
Comment by Christopher Zimmermann [ 22/Jun/20 ]

Ensure that both M5 dialogs "auto converted" to M6 work. And that 'native' M6 dialogs work.

Comment by Šimon Demočko [ 22/Jun/20 ]

The auto converted M5 ones do work (just checked right now, to make sure), this one is for M6. 
But I'll write as part of QA to check that the converted one did not break, once this is implemented.

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