[magnolia-dev] [JIRA] Commented: (MGNLSTK-637) STKUtil does not return 'null' to freemarker when DAMException is caught
[ http://jira.magnolia-cms.com/browse/MGNLSTK-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=28970#action_28970 ] Hudson CI server commented on MGNLSTK-637: -- 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. 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: Ondřej Chytil Fix For: 1.3.2 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
[magnolia-dev] [JIRA] Commented: (MGNLSTK-637) STKUtil does not return 'null' to freemarker when DAMException is caught
[ http://jira.magnolia-cms.com/browse/MGNLSTK-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=28937#action_28937 ] Jan Haderka commented on MGNLSTK-637: - Issue will be fixed in the next maintenance release. 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: Ondřej Chytil Fix For: 1.3.2 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
[magnolia-dev] [JIRA] Commented: (MGNLSTK-637) STKUtil does not return 'null' to freemarker when DAMException is caught
[ http://jira.magnolia-cms.com/browse/MGNLSTK-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=28930#action_28930 ] Hans Tobler commented on MGNLSTK-637: - This issue affects all images (and other items) from dam when the link to the dam-item is changed to a wrong value. The FreeMarker template error! is very ugly on a public-instance... It also seems related to http://jira.magnolia-cms.com/browse/MGNLSTK-566 When have you planed to fix this issue? 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
[magnolia-dev] [JIRA] Commented: (MGNLSTK-637) STKUtil does not return 'null' to freemarker when DAMException is caught
[ http://jira.magnolia-cms.com/browse/MGNLSTK-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=28931#action_28931 ] Stefan Baur commented on MGNLSTK-637: - I agree. This little fix would be a nice improvement. 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