You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2014/12/24 07:20:13 UTC

[jira] [Created] (OFBIZ-5930) Data resouce caching issue while render data resource on multi tenant environment

Deepak Dixit created OFBIZ-5930:
-----------------------------------

             Summary: Data resouce  caching issue while render data resource on multi tenant environment
                 Key: OFBIZ-5930
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5930
             Project: OFBiz
          Issue Type: Bug
          Components: content
    Affects Versions: Trunk
            Reporter: Deepak Dixit


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
{code}
Template cachedTemplate = FreeMarkerWorker.getTemplate("DataResource:" + dataResourceId);
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)