[Tickets #12506] Re: Contacts sync with ActiveSync get duplicates and not sync

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Jul 29 11:03:44 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12506
------------------------------------------------------------------------------
  Ticket             | 12506
  Updated By         | carlos.velasco at nimastelecom.com
  Summary            | Contacts sync with ActiveSync get duplicates and not
                     | sync
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
+New Attachment     | new2.txt
------------------------------------------------------------------------------


carlos.velasco at nimastelecom.com (2013-07-29 11:03) wrote:

I made another test with just 5 contacts and it works, so this issue  
seems related to volume contacts. Attaching new debug logs with 5  
contacts.

Looking into both logs I see this:

In the 500 contacts log:
2013-07-28T22:54:05+02:00 DEBUG: [30637] I     <SyncKey>
2013-07-28T22:54:05+02:00 DEBUG: [30637] I        
{51f5844b-ef0c-4b3a-937b-784b5570088c}2
2013-07-28T22:54:05+02:00 DEBUG: [30637] I     </SyncKey>
...
2013-07-28T22:59:01+02:00 DEBUG: [30637] I  </Synchronize>
...
2013-07-28T22:59:10+02:00 DEBUG: [30637] O     <SyncKey>
2013-07-28T22:59:10+02:00 DEBUG: [30637] O       
{51f5844b-ef0c-4b3a-937b-784b5570088c}3
2013-07-28T22:59:10+02:00 DEBUG: [30637] O     </SyncKey>
...
2013-07-28T23:01:36+02:00 DEBUG: [30665] SYNC request received for  
user testas at nimastelecom.com
...
2013-07-28T23:01:37+02:00 DEBUG: [30665] I    <Folder>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I     <SyncKey>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I        
{51f5844b-ef0c-4b3a-937b-784b5570088c}2
2013-07-28T23:01:37+02:00 DEBUG: [30665] I     </SyncKey>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I     <FolderId>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I       @Contacts@
2013-07-28T23:01:37+02:00 DEBUG: [30665] I     </FolderId>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I     <DeletesAsMoves />
2013-07-28T23:01:37+02:00 DEBUG: [30665] I     <GetChanges />
2013-07-28T23:01:37+02:00 DEBUG: [30665] I     <WindowSize>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I       5
2013-07-28T23:01:37+02:00 DEBUG: [30665] I     </WindowSize>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I     <Options>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I      <AirSyncBase:BodyPreference>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I       <AirSyncBase:Type>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I         1
2013-07-28T23:01:37+02:00 DEBUG: [30665] I       </AirSyncBase:Type>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I       <AirSyncBase:TruncationSize>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I         400000
2013-07-28T23:01:37+02:00 DEBUG: [30665] I       </AirSyncBase:TruncationSize>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I      </AirSyncBase:BodyPreference>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I     </Options>
2013-07-28T23:01:37+02:00 DEBUG: [30665] I    </Folder>

In the 5 contacts log:
2013-07-29T12:20:07+02:00 DEBUG: [8841] I     <SyncKey>
2013-07-29T12:20:07+02:00 DEBUG: [8841] I        
{51f64171-3fc0-4f87-ba3b-22a55570088c}2
2013-07-29T12:20:07+02:00 DEBUG: [8841] I     </SyncKey>
...
2013-07-29T12:20:11+02:00 DEBUG: [8841] I  </Synchronize>
...
2013-07-29T12:20:12+02:00 DEBUG: [8841] O     <SyncKey>
2013-07-29T12:20:12+02:00 DEBUG: [8841] O       
{51f64171-3fc0-4f87-ba3b-22a55570088c}3
2013-07-29T12:20:12+02:00 DEBUG: [8841] O     </SyncKey>
...
2013-07-29T12:20:13+02:00 DEBUG: [8841] SYNC request received for user  
testas at nimastelecom.com
...
2013-07-29T12:20:13+02:00 DEBUG: [8841] I    <Folder>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I     <SyncKey>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I        
{51f64171-3fc0-4f87-ba3b-22a55570088c}3
2013-07-29T12:20:13+02:00 DEBUG: [8841] I     </SyncKey>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I     <FolderId>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I       @Contacts@
2013-07-29T12:20:13+02:00 DEBUG: [8841] I     </FolderId>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I     <DeletesAsMoves />
2013-07-29T12:20:13+02:00 DEBUG: [8841] I     <GetChanges />
2013-07-29T12:20:13+02:00 DEBUG: [8841] I     <WindowSize>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I       5
2013-07-29T12:20:13+02:00 DEBUG: [8841] I     </WindowSize>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I     <Options>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I      <AirSyncBase:BodyPreference>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I       <AirSyncBase:Type>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I         1
2013-07-29T12:20:13+02:00 DEBUG: [8841] I       </AirSyncBase:Type>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I       <AirSyncBase:TruncationSize>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I         400000
2013-07-29T12:20:13+02:00 DEBUG: [8841] I       </AirSyncBase:TruncationSize>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I      </AirSyncBase:BodyPreference>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I     </Options>
2013-07-29T12:20:13+02:00 DEBUG: [8841] I    </Folder>

So, it seems that in the 500 contacts log, after the initial upload of  
the 500 contacts from Android to Turba, the Android SyncKey is not  
updated from {51f5844b-ef0c-4b3a-937b-784b5570088c}2 to  
{51f5844b-ef0c-4b3a-937b-784b5570088c}3.

However in the 5 contacts log, the synckey in Android gets updated  
without problem.

Maybe some timeout issue??
In the 500 contacts case it gets more than 5 minutes to upload for 5  
seconds in the 5 contacts case.

I am trying to activate debug logs in Android client, but not sure how  
to do it.

In the other hand, Horde/Turba should handle this problem somehow.  
Right now it generates an error because backend is mysql and little  
more. It seems that Android device tries to upload and upload and  
upload the contacts again and again after some time leading to  
thousand of duplicated contacts in Turba.




carlos.velasco at nimastelecom.com (2013-07-29 11:03) uploaded: new2.txt

http://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=new2.txt&ticket=12506&fn=%2Fnew2.txt





More information about the bugs mailing list