Commit f819a42e authored by Kevin Deldycke's avatar Kevin Deldycke

generateNewId() wasn't called on the good object


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3130 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8cccb168
...@@ -138,7 +138,7 @@ class PublicationSynchronization(XMLSyncUtils): ...@@ -138,7 +138,7 @@ class PublicationSynchronization(XMLSyncUtils):
# Get the subscriber or create it if not already in the list # Get the subscriber or create it if not already in the list
subscriber = publication.getSubscriber(subscription_url) subscriber = publication.getSubscriber(subscription_url)
if subscriber == None: if subscriber == None:
subscriber = Subscriber(publication.generateNewId(),subscription_url) subscriber = Subscriber(self.generateNewId(),subscription_url)
subscriber.setXMLMapping(publication.getXMLMapping()) subscriber.setXMLMapping(publication.getXMLMapping())
publication.addSubscriber(subscriber) publication.addSubscriber(subscriber)
# first synchronization # first synchronization
......
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