From 01d96399d21ee3ee1b34894ba985af3e2c810f2a Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Wed, 1 Aug 2007 07:34:36 +0000 Subject: [PATCH] Use appropriate key in cache. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15408 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/WebSection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5/Document/WebSection.py b/product/ERP5/Document/WebSection.py index 796b91b190..a43f293d59 100644 --- a/product/ERP5/Document/WebSection.py +++ b/product/ERP5/Document/WebSection.py @@ -369,7 +369,7 @@ class WebSection(Domain): """ cache = getReadOnlyTransactionCache(self) if cache is not None: - key = ('getDocumentValueList', self, document.getPath()) + key = ('getPermanentURL', self, document.getPath()) try: return cache[key] except KeyError: @@ -395,7 +395,7 @@ class WebSection(Domain): """ cache = getReadOnlyTransactionCache(self) if cache is not None: - key = ('getDocumentValueList', self, document.getPath()) + key = ('getBreadcrumbItemList', self, document.getPath()) try: return cache[key] except KeyError: -- 2.30.9