View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002972 | SOGo | ActiveSync | public | 2014-10-29 11:48 | 2014-11-14 15:44 |
Reporter | Raido | Assigned To | ludovic | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | [Client] Microsoft | OS | Windows | OS Version | 7 |
Product Version | 2.2.9a | ||||
Target Version | 2.2.10 | Fixed in Version | 2.2.10 | ||
Summary | 0002972: Outlook 2013 ActiveSync stuck on Waiting for server response | ||||
Description | Hello, My customer has quite large inbox (0002405:0006000 emails). He have't used activesync for 2 weeks. Now when he opened, Outlook won't sync emails. It will stuck on "Waiting for server response". Synced only email that was sent when outlook was open, not older ones. | ||||
Tags | No tags attached. | ||||
Do you get old emails when you do some changes on them? >mark them as unread/read |
|
I set up a fresh profile. It synced all emails. |
|
Without the steps to reproduce I just can do some guessing. The attached patch should fix that. Due to lake of time it is not tested. Maybe somebody can do some testing with it and provide feedback. |
|
0001-getChanges-syncKey.patch (1,192 bytes)
From 134bc3fc24cd43279e8ab48ab018896a659beff3 Mon Sep 17 00:00:00 2001 From: root <root@poldi.hopto.org> Date: Fri, 31 Oct 2014 15:11:53 +0100 Subject: [PATCH] getChanges - syncKey --- ActiveSync/SOGoActiveSyncDispatcher+Sync.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ActiveSync/SOGoActiveSyncDispatcher+Sync.m b/ActiveSync/SOGoActiveSyncDispatcher+Sync.m index 86a2e5c..0b90a2e 100644 --- a/ActiveSync/SOGoActiveSyncDispatcher+Sync.m +++ b/ActiveSync/SOGoActiveSyncDispatcher+Sync.m @@ -1071,7 +1071,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. else nameInCache = [collection nameInContainer]; - if (![[self _folderMetadataForKey: nameInCache] objectForKey: @"MoreAvailable"]) + // use the SyncKey saved by processSyncGetChanges - if processSyncGetChanges is not called (because of getChanges=false) SyncKey has the value of the previous sync. + davCollectionTag = [[self _folderMetadataForKey: nameInCache] objectForKey: @"SyncKey"]; + + if (davCollectionTag) davCollectionTag = [collection davCollectionTag]; } -- 1.7.10.4 |
|
I found some time to do some tests... There is some more work needed to fix the issue. Although the patch is working for email folders there will be an issue that dup events will be created on the client sending new events. |
|
Can you specify dup events part? |
|
Yes, this can happen with the patch. If there is no change on the server the event will sent to the client as an addition on each sync since the serverKey doesn't change. -> more work is needed to fix this... |
|
Fixed with: https://github.com/inverse-inc/sogo/commit/b3cd609ae76414237db120fd76545afe11f6346b and: https://github.com/inverse-inc/sogo/commit/3872341a85c4e54a5671bde5e414c58c1ebca19e Please try the upcoming nightly builds. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-10-29 11:48 | Raido | New Issue | |
2014-10-31 13:53 | tfu | Note Added: 0007645 | |
2014-10-31 14:03 | Raido | Note Added: 0007646 | |
2014-10-31 14:32 | tfu | Note Added: 0007647 | |
2014-10-31 14:32 | tfu | File Added: 0001-getChanges-syncKey.patch | |
2014-11-01 20:04 | tfu | Note Added: 0007649 | |
2014-11-04 15:46 | Raido | Note Added: 0007653 | |
2014-11-04 16:51 | tfu | Note Added: 0007654 | |
2014-11-07 20:42 | ludovic | Target Version | => 2.2.10 |
2014-11-14 15:44 | ludovic | Note Added: 0007680 | |
2014-11-14 15:44 | ludovic | Status | new => resolved |
2014-11-14 15:44 | ludovic | Fixed in Version | => 2.2.10 |
2014-11-14 15:44 | ludovic | Resolution | open => fixed |
2014-11-14 15:44 | ludovic | Assigned To | => ludovic |