Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-637

STKUtil does not return 'null' to freemarker when DAMException is caught

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.3.2
    • 1.3.1
    • base system
    • None

    Description

      STKUtil.java line 144 & 163:
      When a DAMException is caught, a RuntimeException is thrown, but null is not returned.

      When choosing from DMS (uuidLink Control) a folder instead an image, freemarker template does not get a 'null' as return.
      This makes this case much harder to handle in the template.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ochytil Ondrej Chytil
                cringele Christian Ringele
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: