View Issue Details

IDProjectCategoryView StatusLast Update
0003310SOGoActiveSyncpublic2015-10-14 14:34
Reporterdaniel.colchete Assigned Toludovic  
PrioritynormalSeveritymajorReproducibilitysometimes
Status closedResolutionsuspended 
Platform[Client] AppleOSiOSOS Version7
Product Version2.3.1 
Summary0003310: Old version sent as reply to a change command
Description

I noticed that, when editing contacts and task on my iPhone, the device would get confused sometimes and show the old versions. It would lead to me doing the change manually again, just for the shown the original change latter.

I traced the problem to the EAS protocol. After getting a Change Request we reply with the old version of the object. You have to be somewhat fast to see this happening. On additional information I have the logs of it happening.

Steps To Reproduce

1 - Create a new task on your iPhone.
2 - Quickly get into the task and change the due date.
3 - Save quickly.

Result: The due date is gone now! In one minute it will appear again.

Additional Information

Aug 17 11:48:54 sogod [12853]: 201.16.160.1 "POST /SOGo/Microsoft-Server-ActiveSync?User=daniel.teste@mav.com.br&DeviceId=Appl5K33801NA4S&DeviceType=iPhone&Cmd=Ping HTTP/1.1" 200 13/0 0.002 - - 0
Aug 17 11:49:22 sogod [12853]: <0x0x7f28d6740100[SOGoActiveSyncDispatcher]> EAS - request for device Appl5K33801NA4S: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/&quot;>
<Sync xmlns="AirSync:">
<Collections>
<Collection>
<SyncKey>1439822881</SyncKey>
<CollectionId>vtodo%2Fpersonal</CollectionId>
<GetChanges/>
<WindowSize>25</WindowSize>
<Options>
<BodyPreference xmlns="AirSyncBase:">
<Type>1</Type>
<TruncationSize>32768</TruncationSize>
</BodyPreference>
</Options>
<Commands>
<Add>
<ClientId>251</ClientId>
<ApplicationData>
<Body xmlns="AirSyncBase:">
<Type>1</Type>
<Data/>
</Body>
<Subject xmlns="Tasks:">Teste CC22CC</Subject>
<Importance xmlns="Tasks:">1</Importance>
<Complete xmlns="Tasks:">0</Complete>
<Sensitivity xmlns="Tasks:">0</Sensitivity>
<ReminderSet xmlns="Tasks:">0</ReminderSet>
</ApplicationData>
</Add>
</Commands>
</Collection>
</Collections>
</Sync>

Aug 17 11:49:22 sogod [12853]: <0x0x7f28d6740100[SOGoActiveSyncDispatcher]> Change detected, we push the content.
Aug 17 11:49:22 sogod [12853]: <0x0x7f28d6740100[SOGoActiveSyncDispatcher]> EAS - response for device Appl5K33801NA4S: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/&quot;>
<Sync xmlns="AirSync:">
<Collections>
<Collection>
<Class>Tasks</Class>
<SyncKey>1439822881</SyncKey>
<CollectionId>vtodo%2Fpersonal</CollectionId>
<Status>1</Status>
<Responses>
<Add>
<ClientId>251</ClientId>
<ServerId>3235-55D1F480-5-7BD04A80.ics</ServerId>
<Status>1</Status>
</Add>
</Responses>
</Collection>
</Collections>
</Sync>

Aug 17 11:49:22 sogod [12853]: 201.16.160.1 "POST /SOGo/Microsoft-Server-ActiveSync?User=daniel.teste@mav.com.br&DeviceId=Appl5K33801NA4S&DeviceType=iPhone&Cmd=Sync HTTP/1.1" 200 106/134 0.014 - - 4K
Aug 17 11:49:26 sogod [12853]: <0x0x7f28d6b64d70[SOGoActiveSyncDispatcher]> EAS - request for device Appl5K33801NA4S: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/&quot;>
<Sync xmlns="AirSync:">
<Collections>
<Collection>
<SyncKey>1439822881</SyncKey>
<CollectionId>vtodo%2Fpersonal</CollectionId>
<GetChanges/>
<WindowSize>25</WindowSize>
<Options>
<BodyPreference xmlns="AirSyncBase:">
<Type>1</Type>
<TruncationSize>32768</TruncationSize>
</BodyPreference>
</Options>
<Commands>
<Change>
<ServerId>3235-55D1F480-5-7BD04A80.ics</ServerId>
<ApplicationData>
<Body xmlns="AirSyncBase:">
<Type>1</Type>
<Data/>
</Body>
<Subject xmlns="Tasks:">Teste CC22CC</Subject>
<Importance xmlns="Tasks:">1</Importance>
<UTCStartDate xmlns="Tasks:">2015-08-17T15:00:00.000Z</UTCStartDate>
<StartDate xmlns="Tasks:">2015-08-17T12:00:00.000Z</StartDate>
<UTCDueDate xmlns="Tasks:">2015-08-17T15:00:00.000Z</UTCDueDate>
<DueDate xmlns="Tasks:">2015-08-17T12:00:00.000Z</DueDate>
<Complete xmlns="Tasks:">0</Complete>
<Sensitivity xmlns="Tasks:">0</Sensitivity>
<ReminderTime xmlns="Tasks:">2015-08-17T15:00:00.000Z</ReminderTime>
<ReminderSet xmlns="Tasks:">1</ReminderSet>
</ApplicationData>
</Change>
</Commands>
</Collection>
</Collections>
</Sync>

Aug 17 11:49:26 sogod [12853]: <0x0x7f28d6b64d70[SOGoActiveSyncDispatcher]> Change detected, we push the content.
Aug 17 11:49:26 sogod [12853]: <0x0x7f28d6b64d70[SOGoActiveSyncDispatcher]> EAS - response for device Appl5K33801NA4S: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/&quot;>
<Sync xmlns="AirSync:">
<Collections>
<Collection>
<Class>Tasks</Class>
<SyncKey>1439822962</SyncKey>
<CollectionId>vtodo%2Fpersonal</CollectionId>
<Status>1</Status>
<Responses>
<Change>
<ServerId>3235-55D1F480-5-7BD04A80.ics</ServerId>
<Status>1</Status>
</Change>
</Responses>
<Commands>
<Change>
<ServerId>3235-55D1F480-5-7BD04A80.ics</ServerId>
<ApplicationData>
<Complete xmlns="Tasks:">0</Complete>
<Importance xmlns="Tasks:">1</Importance>
<ReminderSet xmlns="Tasks:">0</ReminderSet>
<Sensitivity xmlns="Tasks:">0</Sensitivity>
<Subject xmlns="Tasks:">Teste CC22CC</Subject>
<Body xmlns="AirSyncBase:">
<Type>1</Type>
<EstimatedDataSize>0</EstimatedDataSize>
<Data/>
</Body>
</ApplicationData>
</Change>
</Commands>
</Collection>
</Collections>
</Sync>

Aug 17 11:49:26 sogod [12853]: 201.16.160.1 "POST /SOGo/Microsoft-Server-ActiveSync?User=daniel.teste@mav.com.br&DeviceId=Appl5K33801NA4S&DeviceType=iPhone&Cmd=Sync HTTP/1.1" 200 190/299 0.063 - - -124K

TagsNo tags attached.

Activities

daniel.colchete

daniel.colchete

2015-08-25 13:20

reporter   ~0008855

So I created a PasteBin with the full version of this problem happening: http://pastebin.com/LhtebJhT

tfu

tfu

2015-08-27 14:43

reporter   ~0008865

It seems that the response to the first change-request returns stale data. The next sync response is ok.
I tried serveral things but I cannot reproduce the problem.

Can you try to reproduce the problem with a ZEG updated to 2.3.1 and let me know what I need to do to reproduce the issue?

ludovic

ludovic

2015-10-14 14:34

reporter   ~0008999

No feedback provided in weeks, suspending.

Issue History

Date Modified Username Field Change
2015-08-17 14:57 daniel.colchete New Issue
2015-08-25 13:20 daniel.colchete Note Added: 0008855
2015-08-27 14:43 tfu Note Added: 0008865
2015-10-14 14:34 ludovic Note Added: 0008999
2015-10-14 14:34 ludovic Status new => closed
2015-10-14 14:34 ludovic Assigned To => ludovic
2015-10-14 14:34 ludovic Resolution open => suspended