[Erp5-report] r18879 - /erp5/trunk/products/CMFCategory/CategoryTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jan 28 10:38:39 CET 2008
Author: aurel
Date: Mon Jan 28 10:38:38 2008
New Revision: 18879
URL: http://svn.erp5.org?rev=18879&view=rev
Log:
use uid in cache key instead of _p_oid, as oid is not unique among many
data.fs but uid is
Modified:
erp5/trunk/products/CMFCategory/CategoryTool.py
Modified: erp5/trunk/products/CMFCategory/CategoryTool.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFCategory/CategoryTool.py?rev=18879&r1=18878&r2=18879&view=diff
==============================================================================
--- erp5/trunk/products/CMFCategory/CategoryTool.py (original)
+++ erp5/trunk/products/CMFCategory/CategoryTool.py Mon Jan 28 10:38:38 2008
@@ -839,7 +839,7 @@
spec=(), filter=None, acquired_object_dict = None, **kw ):
cache = getReadOnlyTransactionCache(self)
if cache is not None:
- key = ('getSingleCategoryAcquiredMembershipList', context._p_oid, base_category, base, spec,
+ key = ('getSingleCategoryAcquiredMembershipList', context.getUid(), base_category, base, spec,
filter, str(kw))
try:
return cache[key]
More information about the Erp5-report
mailing list