From 2ba8254eccb5a1f42844044d008170fc1c1715a8 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 24 Sep 2013 09:29:46 -0400 Subject: [PATCH] Fix for bug #1275 --- SoObjects/SOGo/SOGoGCSFolder.m | 37 +++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/SoObjects/SOGo/SOGoGCSFolder.m b/SoObjects/SOGo/SOGoGCSFolder.m index 7933c6d17..f5b2ee691 100644 --- a/SoObjects/SOGo/SOGoGCSFolder.m +++ b/SoObjects/SOGo/SOGoGCSFolder.m @@ -1195,6 +1195,41 @@ static NSArray *childRecordFields = nil; return propstats; } +/* + draft-1: + + + + + /SOGo/dav/sogo2/Calendar/personal/351dc1af-2aa3-4d14-9704-eadbcfecaf7e.ics + HTTP/1.1 200 OK + + + "gcs00000001" + HTTP/1.1 200 OK + + + 1322100412 + + + draft-2 and up: + + + + + /caldav.php/user1/home/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics + + + "165746adbab8bc0c8336a63cc5332ff2" + Dow, 01 Jan 2000 00:00:00 GMT + + HTTP/1.1 200 OK + + + urn:,1322100412 + +*/ + - (NSDictionary *) _syncResponseWithProperties: (NSArray *) properties andMethodSelectors: (SEL *) selectors fromRecord: (NSDictionary *) record @@ -1238,7 +1273,7 @@ static NSArray *childRecordFields = nil; andMethodSelectors: selectors fromRecord: record]]; - return davElementWithContent (@"sync-response", XMLNS_WEBDAV, children); + return davElementWithContent (@"response", XMLNS_WEBDAV, children); } - (void) _appendComponentProperties: (NSArray *) properties