Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-953

Expanding of an empty folder freezes the asset chooser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 3.0.9
    • 3.0.8
    • None
    • Maintenance 62, Maintenance 62, Maintenance 64, Maintenance 65
    • 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();
      }
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                aichimescu Andrei Ichimescu
                oanh.thai Oanh Thai Hoang
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 2.2h
                      2.2h