[magnolia-dev] [JIRA] Commented: (MGNLSTK-593) Freemarker Error with OnAir-DAM control when corresponding metadata-uuid is missing -> STKUtil does not return 'null' to freemarker
[ http://jira.magnolia-cms.com/browse/MGNLSTK-593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28969#action_28969 ] Hudson CI server commented on MGNLSTK-593: -- Integrated in !http://hudson.magnolia-cms.com/images/16x16/blue.gif! [standard-templating-kit #2652|http://hudson.magnolia-cms.com/job/standard-templating-kit/2652/] MGNLSTK-637, MGNLSTK-593, MGNLSTK-566 Now when DAMException is caught in STKUtil class then instead of RuntimeException a warning is called and null value is returned. Added test cases in STKUtilTest class. > 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.2.3, 1.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:
[magnolia-dev] [JIRA] Commented: (MGNLSTK-593) Freemarker Error with OnAir-DAM control when corresponding metadata-uuid is missing -> STKUtil does not return 'null' to freemarker
[ http://jira.magnolia-cms.com/browse/MGNLSTK-593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27080#action_27080 ] Christian Ringele commented on MGNLSTK-593: --- Same error occurs on pages where OnAir image is used, when OnAir DAM handler is deactivated. > 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.2.3, 1.3 M2 >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: