Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9922

Content related changes needs OFBiz server restart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 16.11.04
    • framework
    • None

    Description

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

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

      Attachments

        Activity

          People

            deepak Deepak Dixit
            surajk Suraj Khurana
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: