ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suraj Khurana (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OFBIZ-9922) Content related changes needs OFBiz server restart
Date Thu, 02 Nov 2017 10:44:00 GMT
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)

Mime
View raw message