From 6860ef83aeaeeac8bc10f3f7b41a15bcbecf072f Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 26 Feb 2015 17:55:36 -0500 Subject: [PATCH] do not use syncKey from cache when davCollectionTag = -1 - patch from tfu --- ActiveSync/SOGoActiveSyncDispatcher+Sync.m | 2 +- NEWS | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ActiveSync/SOGoActiveSyncDispatcher+Sync.m b/ActiveSync/SOGoActiveSyncDispatcher+Sync.m index 29cc0d1a0..47aed901f 100644 --- a/ActiveSync/SOGoActiveSyncDispatcher+Sync.m +++ b/ActiveSync/SOGoActiveSyncDispatcher+Sync.m @@ -1211,7 +1211,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. { // Make sure that client is updated with the right syncKey. - This keeps vtodo's and vevent's syncKey in sync. syncKeyInCache = [folderMetadata objectForKey: @"SyncKey"]; - if (syncKeyInCache && !([davCollectionTag isEqualToString:syncKeyInCache])) + if (syncKeyInCache && !([davCollectionTag isEqualToString:syncKeyInCache]) && ![davCollectionTag isEqualToString: @"-1"]) { davCollectionTag = syncKeyInCache; *changeDetected = YES; diff --git a/NEWS b/NEWS index 87c1e1c18..eac001565 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,7 @@ Bug fixes - fixed tasks disappearing issue with RoadSync - use the correct body element for events for EAS 2.5 clients - SmartReply improvements for missing body attributes + - do not use syncKey from cache when davCollectionTag = -1 2.2.16 (2015-02-12) -------------------