[horde] Fwd: ActiveSync: triplicate calendar entries on device
Michael J Rubinsky
mrubinsk at horde.org
Wed Jul 17 14:34:38 UTC 2013
Looks like original email was truncated somewhere on route. Forwarding again.
----- Forwarded message from Michael J Rubinsky <mrubinsk at horde.org> -----
Date: Wed, 17 Jul 2013 10:24:44 -0400
From: Michael J Rubinsky <mrubinsk at horde.org>
Reply-To: mrubinsk at horde.org
Subject: Re: [horde] ActiveSync: triplicate calendar entries on device
To: horde at lists.horde.org
Quoting Tom Seeley <horde at tomseeley.co.uk>:
> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>
>>> Just doing a little experiment, when set to manual sync I only get
>>> 1 entry on my device (even when I sync multiple times), the
>>> problem only occurs when the device is set to "push", so perhaps
>>> the problem is related to the issue you saw in the logs?
>>
>> I doubt it. If you only see the data being sent once to the client
>> then it's the client that is deciding to enter it multiple times in
>> it's own database. The data that's being sent looks OK, so I doubt
>> there is anything Horde can do server side to fix this.
>
> I can't argue with this logic, it could of course be a bug with the
> phone. Having said that I'm not exactly using an uncommon
> configuration (stock Samsung GS2).
>
>> Perhaps you could get access to the device's debug logs and see
>> what is going on there? There are some tricks to enable this on
>> Android devices available on http://wiki.horde.org/ActiveSync
>> though no promises that it will work with your Samsung device.
>
> Done, personally I can't see anything obviously wrong, nothing that
> stands out as an error. Perhaps you might see something I don't?:
>
> http://www.tomseeley.co.uk/android_activesync_debug.txt
>
> I created 2 calendar items (tomtestevent4 and tomtestevent5), both
> seem to arrive once, but still appear 3 times on the device's
> calendar.
It looks like something wonky is going on in your log:
[2013-06-17][9:53:10] AbstractSyncService<3926>| Calendar SyncKey
saved as: {51e3b823-4da8-4fca-b7c8-1bdf052c630d}26
[2013-06-17][9:53:10] AbstractSyncService<3926>| Try to execute 5
CPO's for com.android.calendar
[2013-06-17][9:53:11] AbstractSyncService<3926>| Results: 5
[2013-06-17][9:53:11] AbstractSyncService<3926>| Calendar SyncKey
saved as: {51e3b823-4da8-4fca-b7c8-1bdf052c630d}26
[2013-06-17][9:53:11] AbstractSyncService<3926>| Try to execute 6
CPO's for com.android.calendar
[2013-06-17][9:53:11] AbstractSyncService<3926>| Results: 6
[2013-06-17][9:53:11] AbstractSyncService<3926>| Calendar SyncKey
saved as: {51e3b823-4da8-4fca-b7c8-1bdf052c630d}26
[2013-06-17][9:53:11] AbstractSyncService<3926>| Try to execute 7
CPO's for com.android.calendar
[2013-06-17][9:53:11] AbstractSyncService<3926>| Results: 7
This shows that your client is sending CPO (Collection Provider
Operations) to the calendar collection handler 3 separate times, each
time sending one more operation than the previous time without
receiving any additional requests. It would have been nice if there
was some error message indicating why this is happening but...
In contrast, a normal log should look like this:
[10:06:23] Calendar[mrubinsk at horde.org]| Calendar SyncKey saved as:
{51c9b973-9778-435f-b696-06174b935e62}27
[10:06:23] Calendar[mrubinsk at horde.org]| Try to execute 5 CPO's for
com.android.calendar
[10:06:23] Calendar[mrubinsk at horde.org]| Results: 5
[10:06:24] Calendar[mrubinsk at horde.org]| Sync finished
with no additional CPO's sent to com.android.calendar. Note the "Sync
finished" message from the Calendar provider. Unfortunately, unless
you can pinpoint something that Horde is sending that is causing this
behavior, there is really nothing we can do about it.
--
mike
The Horde Project (www.horde.org)
mrubinsk at horde.org
----- End forwarded message -----
--
mike
The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
An embedded message was scrubbed...
From: Michael J Rubinsky <mrubinsk at horde.org>
Subject: Re: [horde] ActiveSync: triplicate calendar entries on device
Date: Wed, 17 Jul 2013 10:24:44 -0400
Size: 3514
URL: <http://lists.horde.org/archives/horde/attachments/20130717/49b9eeea/attachment.mht>
More information about the horde
mailing list