Author: jacopoc
Date: Mon Dec  3 13:14:48 2012
New Revision: 1416499

URL: http://svn.apache.org/viewvc?rev=1416499&view=rev
Log:
Applied fix from trunk for revision: 1416497 
===

Fixed code that was broken a lot of time ago by commit 883226; this prevented 
the (seldom used) screen.use-cache attribute to work properly. Thanks to K 
Sharad Bhushan for the patch (OFBIZ-5080).

Modified:
    ofbiz/branches/release11.04/   (props changed)
    
ofbiz/branches/release11.04/framework/widget/src/org/ofbiz/widget/cache/AbstractCache.java

Propchange: ofbiz/branches/release11.04/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1416497

Modified: 
ofbiz/branches/release11.04/framework/widget/src/org/ofbiz/widget/cache/AbstractCache.java
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release11.04/framework/widget/src/org/ofbiz/widget/cache/AbstractCache.java?rev=1416499&r1=1416498&r2=1416499&view=diff
==============================================================================
--- 
ofbiz/branches/release11.04/framework/widget/src/org/ofbiz/widget/cache/AbstractCache.java
 (original)
+++ 
ofbiz/branches/release11.04/framework/widget/src/org/ofbiz/widget/cache/AbstractCache.java
 Mon Dec  3 13:14:48 2012
@@ -50,6 +50,6 @@ public abstract class AbstractCache {
 
     protected UtilCache<WidgetContextCacheKey, GenericWidgetOutput> 
getOrCreateCache(String widgetName) {
         String name = getCacheName(widgetName);
-        return UtilCache.getOrCreateUtilCache(widgetName, 0, 0, 0, true, 
false, name);
+        return UtilCache.getOrCreateUtilCache(name, 0, 0, 0, true, false, 
name);
     }
 }


Reply via email to