Commit 5b12434d authored by Aurel's avatar Aurel

use uid in cache key instead of _p_oid, as oid is not unique among many

data.fs but uid is


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18879 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 09288a27
......@@ -839,7 +839,7 @@ class CategoryTool( UniqueObject, Folder, Base ):
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]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment