/[Apache-SVN]
ViewVC logotype

Revision 1761586


Jump to revision: Previous Next
Author: jacopoc
Date: Tue Sep 20 14:51:20 2016 UTC (7 years, 7 months ago)
Changed paths: 2
Log Message:
Fix for: Freemarker's ignore_missing attribute of the #include directive was not 
working because of an issue in the OFBiz custom TemplateLoader for Freemarker 
templates.
(OFBIZ-8292)

The OFBiz custom TemplateLoader now returns null if the resource is missing as 
required by the TemplateLoader specification.
Additional cleanups for unused methods in the FreeMarkerWorker class and some 
minor fine tuning; improved the way errors are rendered: now the full stack 
trace is not shown in the screen but only in the logs.

Thanks: Jacques Le Roux for the report.


Changed paths

Path Details
Directoryofbiz/trunk/applications/content/src/main/java/org/apache/ofbiz/content/webapp/ftl/CheckPermissionTransform.java modified , text changed
Directoryofbiz/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26