Fix bug 930132 - Chunked webdav-sync is not handled [status: HTTP/1.1 507 Insufficient Storage] [Error: Assert failed: unexepcted endBatch!]. - followup patch. r=philipp
authorSven Giermann <giermann@funke.de>
Wed, 04 Dec 2013 15:21:07 +0100
changeset 16956 54aa8f1134fec134e7a45bf1495b5957bd751a30
parent 16955 35c5dcc4bc7ea87dcfd4c5375d2302a172f69dc5
child 16957 3263b32ea94d3e0be6616c90543600f979da8f81
push id1074
push userbugzilla@standard8.plus.com
push dateMon, 03 Feb 2014 22:47:23 +0000
treeherdercomm-beta@6b791b5369ed [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersphilipp
bugs930132
Fix bug 930132 - Chunked webdav-sync is not handled [status: HTTP/1.1 507 Insufficient Storage] [Error: Assert failed: unexepcted endBatch!]. - followup patch. r=philipp
calendar/providers/caldav/calDavCalendar.js
calendar/providers/caldav/calDavRequestHandlers.js
--- a/calendar/providers/caldav/calDavCalendar.js
+++ b/calendar/providers/caldav/calDavCalendar.js
@@ -1224,16 +1224,17 @@ calDavCalendar.prototype = {
 
         let locationPath = this.getItemLocationPath(aItem);
         let itemUri = this.makeUri(locationPath);
 
         let multiget = new multigetSyncHandler([this.ensureDecodedPath(itemUri.path)],
                                                this,
                                                this.makeUri(),
                                                null,
+                                               false,
                                                aListener,
                                                aChangeLogListener);
         multiget.doMultiGet();
     },
 
     // void getItem( in string id, in calIOperationListener aListener );
     getItem: function caldav_getItem(aId, aListener) {
         this.mOfflineStorage.getItem(aId, aListener);
--- a/calendar/providers/caldav/calDavRequestHandlers.js
+++ b/calendar/providers/caldav/calDavRequestHandlers.js
@@ -157,16 +157,17 @@ etagsHandler.prototype = {
                 !this.calendar.isInbox(this.baseUri.spec)) {
                 this.calendar.pollInbox();
             }
         } else {
             let multiget = new multigetSyncHandler(this.itemsNeedFetching,
                                        this.calendar,
                                        this.baseUri,
                                        null,
+                                       false,
                                        null,
                                        this.changeLogListener)
             multiget.doMultiGet();
         }
     },
 
     onDataAvailable: function eSL_onDataAvailable(request, context, inputStream, offset, count) {
         if (this._reader) {