do not use syncKey from cache when davCollectionTag = -1 - patch from tfu

This commit is contained in:
Ludovic Marcotte committed 2015-03-24 11:07:10 -04:00
1 parent 950507626b
commit 6860ef83ae
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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. // Make sure that client is updated with the right syncKey. - This keeps vtodo's and vevent's syncKey in sync.
syncKeyInCache = [folderMetadata objectForKey: @"SyncKey"]; syncKeyInCache = [folderMetadata objectForKey: @"SyncKey"];
if (syncKeyInCache && !([davCollectionTag isEqualToString:syncKeyInCache])) if (syncKeyInCache && !([davCollectionTag isEqualToString:syncKeyInCache]) && ![davCollectionTag isEqualToString: @"-1"])
{ {
davCollectionTag = syncKeyInCache; davCollectionTag = syncKeyInCache;
*changeDetected = YES; *changeDetected = YES;
+1
View File
@@ -10,6 +10,7 @@ Bug fixes
- fixed tasks disappearing issue with RoadSync - fixed tasks disappearing issue with RoadSync
- use the correct body element for events for EAS 2.5 clients - use the correct body element for events for EAS 2.5 clients
- SmartReply improvements for missing body attributes - SmartReply improvements for missing body attributes
- do not use syncKey from cache when davCollectionTag = -1
2.2.16 (2015-02-12) 2.2.16 (2015-02-12)
------------------- -------------------