Merge V2.0 to HEAD

5234: LicenseService shutdown
   5256: AR-1273 workaround
   5289: AWC-1142
   5294: WCM-360
   5296: Potential NPE in patches dao


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5333 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-03-07 15:14:46 +00:00
parent 78d5d43e86
commit f17fd30824
5 changed files with 34 additions and 1 deletions

View File

@@ -132,6 +132,10 @@ public class FreeMarkerProcessor implements TemplateProcessor
// rethrow any exception so we can deal with them
config.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);
// localized template lookups off by default - as they create strange noderef lookups
// such as workspace://SpacesStore/01234_en_GB - causes problems for ns.exists() on DB2
config.setLocalizedLookup(false);
// set default template encoding
if (defaultEncoding != null)
{