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 |
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 <[hidden email]> 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 |
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 <[hidden email]> 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 > <[hidden email]> 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 > |
And forgot to mentioned, Same applies with ElectronicText data, as if we
update ElectronicText only so it will not update the DataResource. Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com www.hotwax.co On Thu, Nov 2, 2017 at 3:49 PM, Deepak Dixit <[hidden email] > wrote: > 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 < > [hidden email]> 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 >> <[hidden email]> 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 >> > > |
In reply to this post by taher
Hi Taher,
It is occurring in both the cases whether I import electronic text data for dataResourcceTypeId=ELECTRONIC_TEXT or I use FTL rendering from Content. Deepak, Thanks for the detailed description. Here <https://issues.apache.org/jira/browse/OFBIZ-9922> is the ticket created for the same. *Suraj Khurana* | Sr. Enterprise Software Engineer HotWax Commerce by HotWax Systems Plot no. 80, Scheme no. 78, Vijay Nagar, Indore, M.P. India 452010 On Wed, Nov 1, 2017 at 3:43 PM, Taher Alkhateeb <[hidden email]> 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 > <[hidden email]> 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 > |
Free forum by Nabble | Edit this page |