Login  Register

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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

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

Nicolas Malin (Jira)
106048 posts

    [ https://issues.apache.org/jira/browse/OFBIZ-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333049#comment-14333049 ]

Deepak Dixit commented on OFBIZ-5930:
-------------------------------------

Thanks Jacques.

This should also go in R13.07 branch as well.

> 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
>            Assignee: Ashish Vijaywargiya
>             Fix For: 14.12.01, Upcoming Branch
>
>         Attachments: OFBIZ-5930.patch
>
>
> 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)