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

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: