Commit e061d918 authored by Nicolas Delaby's avatar Nicolas Delaby

get subscriber from acquisition context

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16577 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c7b5049c
...@@ -1617,6 +1617,7 @@ class XMLSyncUtils(XMLSyncUtilsMixin): ...@@ -1617,6 +1617,7 @@ class XMLSyncUtils(XMLSyncUtilsMixin):
subscriber.setXMLMapping(publication.getXMLMapping()) subscriber.setXMLMapping(publication.getXMLMapping())
subscriber.setConduit(publication.getConduit()) subscriber.setConduit(publication.getConduit())
publication.addSubscriber(subscriber) publication.addSubscriber(subscriber)
subscriber = subscriber.__of__(publication)
# first synchronization # first synchronization
result = self.PubSyncInit(publication,xml_client,subscriber=subscriber, result = self.PubSyncInit(publication,xml_client,subscriber=subscriber,
sync_type=self.SLOW_SYNC) sync_type=self.SLOW_SYNC)
......
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