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

dam-templating: damfn.getAsset should not find deleted asset (mgnl:deleted)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Workaround exists
    • Neutral
    • None
    • 2.2.7, 2.3
    • DAM API
    • None

    Description

      The damfn.getAsset() returns a marked-as-deleted asset of the DAM. Further requests on this Item will fail, e.g. to read the description of the asset.

      damfn.getAsset() with an deleted asset-Item should return null, so you can catch that error with the default freemarker tools.

      At the moment, you will get exceptions in your log and freemarker errors in the UI.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              fuchs.florian Florian Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD