From 56b2c12869e743563b1b5a9e86b6b8ebdd314696 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Tue, 29 Jan 2008 17:45:32 +0000 Subject: [PATCH] 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 --- product/CMFCategory/CategoryTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/CMFCategory/CategoryTool.py b/product/CMFCategory/CategoryTool.py index d77cc5dd65..14aad2776e 100644 --- a/product/CMFCategory/CategoryTool.py +++ b/product/CMFCategory/CategoryTool.py @@ -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] -- 2.30.9