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

DamFilePreviewComponent break dialog rendering when file is not available by path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 2.1.4
    • DAM App
    • None

    Description

      Method info.magnolia.dam.app.ui.field.DamFilePreviewComponent.refreshItem(String) throws exception when item is not available by path that break dialog rendering.

      Surround info.magnolia.dam.jcr.JcrAssetProvider.getItem(String) in try catch block will fix the issue and will return null in next line.

      Note that this is only problem when you link asset by path. When link by identifier is used, everything works fine.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              zarko.ivanoski Zarko Ivanoski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD