Exception if a description for an item on main.ftl in accounting is null
------------------------------------------------------------------------ Key: OFBIZ-4229 URL: https://issues.apache.org/jira/browse/OFBIZ-4229 Project: OFBiz Issue Type: Improvement Components: accounting Affects Versions: SVN trunk Reporter: Mirko Vogelsmeier Priority: Minor Fix For: Release 4.0 Hi, i recently came across an issue: In the main.ftl of the accounting-module there are a lot of items listed (like paymentMethodTypes, paymentTypes, ...). If one of these items does not have a description defined, an Exception is thrown. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mirko Vogelsmeier updated OFBIZ-4229: ------------------------------------- Attachment: JIRA-4229-Fallback-Accounting-main.ftl.patch As a fallback to the description i did add the Id. Like if paymentMethodType.description doesnt exists, it gets the paymentMethodType.paymentMethodTypeId. Greetings, Mirko > Exception if a description for an item on main.ftl in accounting is null > ------------------------------------------------------------------------ > > Key: OFBIZ-4229 > URL: https://issues.apache.org/jira/browse/OFBIZ-4229 > Project: OFBiz > Issue Type: Improvement > Components: accounting > Affects Versions: SVN trunk > Reporter: Mirko Vogelsmeier > Priority: Minor > Fix For: Release 4.0 > > Attachments: JIRA-4229-Fallback-Accounting-main.ftl.patch > > > Hi, > i recently came across an issue: > In the main.ftl of the accounting-module there are a lot of items listed (like paymentMethodTypes, paymentTypes, ...). > If one of these items does not have a description defined, an Exception is thrown. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4229. ---------------------------------- Resolution: Fixed Fix Version/s: (was: Release 4.0) SVN trunk Release Branch 10.04 Release Branch 09.04 Assignee: Jacques Le Roux Thanks Mirko, Your patch is in trunk at r1085697, R10.04 at r1085700, R9.04 at r1085701 I did not care about R4.0... > Exception if a description for an item on main.ftl in accounting is null > ------------------------------------------------------------------------ > > Key: OFBIZ-4229 > URL: https://issues.apache.org/jira/browse/OFBIZ-4229 > Project: OFBiz > Issue Type: Improvement > Components: accounting > Affects Versions: SVN trunk > Reporter: Mirko Vogelsmeier > Assignee: Jacques Le Roux > Priority: Minor > Fix For: Release Branch 09.04, Release Branch 10.04, SVN trunk > > Attachments: JIRA-4229-Fallback-Accounting-main.ftl.patch > > > Hi, > i recently came across an issue: > In the main.ftl of the accounting-module there are a lot of items listed (like paymentMethodTypes, paymentTypes, ...). > If one of these items does not have a description defined, an Exception is thrown. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |