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

                 Key: MGNLSTK-637
                 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-637
             Project: Magnolia Standard Templating Kit
          Issue Type: Improvement
          Components: base system
    Affects Versions: 1.3.1
            Reporter: Christian Ringele
            Assignee: Philipp Bärfuss


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to