Commit 56b2c128 authored by Vincent Pelletier's avatar Vincent Pelletier

Use getPhysicalPath. Although it might be slower that getUid, it's part of...

Use getPhysicalPath. Although it might be slower that getUid, it's part of Zope low-level API and is available on any object.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18909 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6baa58e0
......@@ -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.getUid(), base_category, base, spec,
key = ('getSingleCategoryAcquiredMembershipList', context.getPhysicalPath(), 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