Commit 99733ea2 authored by Aurel's avatar Aurel

do not acquire property here


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11571 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 212335aa
......@@ -650,7 +650,7 @@ class Base( CopyContainer,
if storage_id is None: storage_id=key
#LOG("Get Acquired Property storage_id",0,str(storage_id))
# If we hold an attribute and mask_value is set, return the attribute
value = getattr(self, storage_id, None)
value = getattr(aq_base(self), storage_id, None)
if mask_value and value is not None:
# Pop context
del TRANSACTION._erp5_acquisition_stack[acquisition_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