From b3bfb063c3df6410c41b6b99896f47d75b41e0f2 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Fri, 6 Jul 2007 14:14:26 +0000 Subject: [PATCH] Accessors must always get the property on aq_base objects to prevent being "poluted" by acquisition. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15164 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index b8a93801dd..87ace6a85c 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -2978,7 +2978,7 @@ class TempBase(Base): """ Returns the title of this document """ - return getattr(self, 'title', None) + return getattr(aq_base(self), 'title', None) security.declarePublic('setProperty') -- 2.30.9