Hi Suraj,

Could you please crate ticket for this issue?

I think 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"/>





Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Wed, Nov 1, 2017 at 3:43 PM, Taher Alkhateeb <slidingfilame...@gmail.com>
wrote:

> Hello Suraj,
>
> Perhaps more specific explanation would help such as specifying
> whether changing any FTL is not updated or just things in the content
> component and residing in the database? My first gut reaction would be
> that maybe you need to check your caching settings?
>
> On Wed, Nov 1, 2017 at 11:49 AM, Suraj Khurana
> <suraj.khur...@hotwaxsystems.com> wrote:
> > Hello,
> >
> > I am using latest trunk and whenever I change some content rendering data
> > (whether in form of FTL or from ElectronicText), I have to restart the
> > OFBiz server to see reflected changes.
> >
> > Can someone please put some more light on this?
> >
> > --
> > Thanks and Regards,
> > *Suraj Khurana* | Sr. Enterprise Software Engineer
> > *HotWax Commerce* by  *HotWax Systems*
> > Plot no. 80, Scheme no. 78, Vijay Nagar, Indore, M.P. India 452010
>

Reply via email to