You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2017/11/13 06:30:00 UTC

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

     [ https://issues.apache.org/jira/browse/OFBIZ-9922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepak Dixit closed OFBIZ-9922.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 16.11.04

> 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
>            Assignee: Deepak Dixit
>            Priority: Critical
>             Fix For: 16.11.04
>
>
> 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)