[Erp5-report] r36514 kazuhiko - /erp5/trunk/products/ERP5/Document/SolverTypeInformation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 22 16:22:20 CEST 2010


Author: kazuhiko
Date: Tue Jun 22 16:22:18 2010
New Revision: 36514

URL: http://svn.erp5.org?rev=36514&view=rev
Log:
transaction cache for getDefaultConfigurationPropertyDict() should be differentiated per configurable document.

Modified:
    erp5/trunk/products/ERP5/Document/SolverTypeInformation.py

Modified: erp5/trunk/products/ERP5/Document/SolverTypeInformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SolverTypeInformation.py?rev=36514&r1=36513&r2=36514&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SolverTypeInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SolverTypeInformation.py [utf8] Tue Jun 22 16:22:18 2010
@@ -164,7 +164,8 @@ class SolverTypeInformation(Predicate, E
 
     cache = getReadOnlyTransactionCache(self)
     if cache is not None:
-      key = ('getDefaultConfigurationPropertyDict', solver_portal_type)
+      key = ('getDefaultConfigurationPropertyDict', solver_portal_type,
+             configurable.getRelativeUrl())
       try:
         method = cache[key]
       except KeyError:




More information about the Erp5-report mailing list