Commit d4c8f3d4 authored by Nicolas Delaby's avatar Nicolas Delaby

Use ERP5 API to access acquired parent of object

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35799 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 913fa901
......@@ -545,7 +545,7 @@ class SynchronizationTool( SubscriptionSynchronization,
if copy_path is not None:
#LOG('p_sync.applyPublisherValue, conflict_list empty on : ', TRACE, signature)
# Delete the copy of the object if the there is one
directory = object.aq_parent
directory = object.getParentValue()
copy_id = copy_path[-1]
#LOG('p_sync.applyPublisherValue, copy_id: ', TRACE, copy_id)
if hasattr(directory.aq_base, 'hasObject'):
......
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