A patch from Sumit Pandit "Issue in rendering Freemarker Template from String." (https://issues.apache.org/jira/browse/OFBIZ-3782) - OFBIZ-3782 With the help of Bob Morley (it was more a cache issue than what Sumit thought)