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

Data resouce caching issue while render data resource on multi tenant environment

    XMLWordPrintableJSON

Details

    • Bug Crush Event - 21/2/2015

    Description

      Need to fix the DataResouce caching issue while render the DataResouce on multi tenant environment.
      It might be possible that same data resource id exists for multiple tenant, and as DataResouce caching does not used tenant specific caching so it may lead to incorrect data rendering.
      Here is the current code to get the DataResource Teamplate from cache

      Template cachedTemplate = FreeMarkerWorker.getTemplate("DataResource:" + dataResourceId);
      

      Need to add the delegator name as prefix to fix the issue.

      Attachments

        1. OFBIZ-5930.patch
          2 kB
          Deepak Dixit

        Activity

          People

            toashishvijay Ashish Vijaywargiya
            deepak Deepak Dixit
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: