[ https://issues.apache.org/jira/browse/OFBIZ-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Crum updated OFBIZ-1843: ------------------------------- Priority: Minor (was: Major) This looks good. One problem though - the patch assumes FreeMarker is being used for the UI only. FreeMarker is used in other places and for other purposes as well. It would be preferable to have the exception handling controlled by a setting in the Environment object - then we could have the exception controlled on a case-by-case basis. Maybe instead of using global settings in the debug.properties files, we could have those settings in a properties file in the framework/widget/config folder that is loaded into the screen rendering context. > Suppress stack traces on front end due to errors in ftl files > ------------------------------------------------------------- > > Key: OFBIZ-1843 > URL: https://issues.apache.org/jira/browse/OFBIZ-1843 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS > Reporter: Amit Shinde > Assignee: Adrian Crum > Priority: Minor > Attachments: OFBIZ-1843.patch, OFBIZ-1843.patch > > > We need to find a way to gracefully handle stack traces that appear within > freemarker on front end due to errors in ftl files. Instead of displaying > stack traces to the end user, we should have a simple, configurable way of > controlling levels of error messages that should be displayed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.