Commit 1cf4d576 authored by Sebastien Robin's avatar Sebastien Robin

corrected bug in acquisition


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2323 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3750c1df
......@@ -436,6 +436,8 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ):
from Globals import get_request
TRANSACTION = get_transaction()
if not hasattr(TRANSACTION, '_erp5_acquisition_stack'): TRANSACTION._erp5_acquisition_stack = {}
if type(portal_type) is type([]):
portal_type = tuple(portal_type)
acquisition_key = ('_getDefaultAcquiredProperty', self.getPath(), key, base_category,
portal_type, copy_value, mask_value, sync_value,
accessor_id, depends, storage_id, alt_accessor_id, is_list_type, is_tales_type)
......
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