[MGNLDAM-953] Expanding of an empty folder freezes the asset chooser Created: 29/Jan/21  Updated: 16/Jul/21  Resolved: 02/Jul/21

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

Type: Bug Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Andrei Ichimescu
Resolution: Fixed Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: 2.2h
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2021-01-29 at 09.51.06.png    
Issue Links:
Problem/Incident
causes EXTDAM-215 [Bynder & S3] Disable JCR option in c... Closed
relation
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
Date of First Response:
Sprint: Maintenance 62, Maintenance 62, Maintenance 64, Maintenance 65
Story Points: 2

 Description   

Steps to reproduce

  1.  Create folder a and b in Asset app like images 
  2.  Open Pages app and edit any template has chooser link to existing image
  3. Expand a and b
  4. Collapse a and others like stories-demo (parent of selecting image) does not work

.. Logs, screenshots, gifs...

Expected results

Collapse a and others like stories-demo (parent of selecting image) must work

Actual results

Workaround

Close dialog, open again, don't expand "b"

Development notes

The expand icon is displayed for empty folders, making Vaadin freeze on click:

public boolean info.magnolia.dam.app.data.HierarchicalAssetDataProvider#hasChildren(Item item) {
 return item.isFolder();
}

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