[jira] [Created] (OFBIZ-9922) Content related changes needs OFBiz server restart

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-9922) Content related changes needs OFBiz server restart

Nicolas Malin (Jira)
Suraj Khurana created OFBIZ-9922:
------------------------------------

             Summary: Content related changes needs OFBiz server restart
                 Key: OFBIZ-9922
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9922
             Project: OFBiz
          Issue Type: Bug
          Components: framework
            Reporter: Suraj Khurana
            Priority: Critical


As per discussion on Dev ML

==========================
Its related to FreeMarkerWorker.renderTemplateFromString.

DataResourceWorker call the FreeMarkerWorker.renderTemplateFromString
if dataTemplateTypeId is FTL,

and pass the lastUpdatedStamp to update the ftl cache.

But if you use ftl file as objectInfo so lastUpdatedStamp will not
change if you update the ftl file

<DataResource dataResourceTypeId="URL_RESOURCE"
objectInfo="component://.../File.ftl" dataTemplateTypeId="FTL"
dataResourceId="TEST"/>

=========================



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)