Freemarker Error with OnAir-DAM control when corresponding metadata-uuid is missing -> STKUtil does not return 'null' to freemarker -----------------------------------------------------------------------------------------------------------------------------------
Key: MGNLSTK-593 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-593 Project: Magnolia Standard Templating Kit Issue Type: Bug Affects Versions: 1.3 M2, 1.2.3 Reporter: Christian Ringele Assignee: Philipp Bärfuss Attachments: FreemarkerError_OnAir_Image.txt General info: All available Assets from media browser have a corresponding meta-data node in the data module. They correspond by their UUID. Error setup: - Selecting a image with the OnAir DAM control - Corresponding meta-data node is missing in data module -> feemarker error Call from Freemarker template: [#assign image = imageModel.image!] Source of the problem: - In class 'STKUtil.java ' - In method 'public static Asset getAsset(Content content, String nodeDataName, String variationName)' In case of the catched 'catch(DAMException e){' null is not returned to the freemarker 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> ----------------------------------------------------------------