[ https://issues.apache.org/jira/browse/OFBIZ-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Crum updated OFBIZ-1170: ------------------------------- Attachment: NewFreeMarkerWorker.patch NewFreeMarkerWorker.patch file is the refactored version that has the <#include> directive fixed. In addition, you can now do things like <#include "DataResource:10240" > and <#include "component://common/webcommon/includes/test.ftl">. So, take your pick - simple bug fix patch or new and improved patch. > FreeMarkerWorker class has a bug in its caching logic > ----------------------------------------------------- > > Key: OFBIZ-1170 > URL: https://issues.apache.org/jira/browse/OFBIZ-1170 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk, Release Branch 4.0 > Reporter: Adrian Crum > Priority: Minor > Attachments: FreeMarkerWorker.patch, FreeMarkerWorker.patch, > FreeMarkerWorker.patch, FreeMarkerWorker.patch, FreeMarkerWorker.patch, > FreeMarkerWorker.patch, NewFreeMarkerWorker.patch > > > The FreeMarkerWorker class creates an instance of the Template class, > initializes it with the current user's locale, then stores it in a cache. > Other users will see the template rendered in the first user's locale, > regardless of their locale setting. > This can be demonstrated on the Hot Wax demo site in the WorkEffort calendar. > Some elements in the screen are rendered in another locale, regardless of > your current locale setting. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.