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

Content related changes needs OFBiz server restart

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16.11.04
    • Component/s: framework
    • Labels:
      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

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              suraj.khurana Suraj Khurana
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: