Commit 9072b4f3 authored by Fabien Morin's avatar Fabien Morin

use aq_base to prevent to aquisition


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29968 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 50dd862b
......@@ -146,7 +146,7 @@ class CachedConvertableMixin:
if self.isTempObject():
return getattr(aq_base(self), 'temp_conversion_data', {})[cache_id]
for cache_plugin in self._getCacheFactory().getCachePluginList():
document_path = getattr(self, 'original_path', self.getPath())
document_path = getattr(aq_base(self), 'original_path', self.getPath())
cache_entry = cache_plugin.get(document_path, DEFAULT_CACHE_SCOPE)
data_list = cache_entry.getValue().get(cache_id)
if data_list:
......
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