[Erp5-report] r16580 - /erp5/trunk/products/ERP5SyncML/PublicationSynchronization.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 24 18:15:07 CEST 2007


Author: nicolas
Date: Mon Sep 24 18:15:07 2007
New Revision: 16580

URL: http://svn.erp5.org?rev=16580&view=rev
Log:
do not reset subscriber after create it

Modified:
    erp5/trunk/products/ERP5SyncML/PublicationSynchronization.py

Modified: erp5/trunk/products/ERP5SyncML/PublicationSynchronization.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/PublicationSynchronization.py?rev=16580&r1=16579&r2=16580&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/PublicationSynchronization.py (original)
+++ erp5/trunk/products/ERP5SyncML/PublicationSynchronization.py Mon Sep 24 18:15:07 2007
@@ -78,7 +78,8 @@
       subscriber.setTargetURI(self.getSourceURI(xml_client))
 
       # If slow sync, then resend everything
-      if alert_code == self.SLOW_SYNC:
+      if alert_code == self.SLOW_SYNC and \
+         subscriber.getNextAnchor() != self.NULL_ANCHOR:
         LOG('Warning !!!, reseting client synchronization for subscriber:', WARNING,
             subscriber.getPath())
         subscriber.resetAllSignatures()




More information about the Erp5-report mailing list