Bug 1476736 - Allow printing even if some caldav calendar is not available. r=philipp
authorMakeMyDay <makemyday@gmx-topmail.de>
Mon, 23 Jul 2018 09:57:21 +0200
changeset 33170 92d500eaee7f62857e0d063f0506309589d286e3
parent 33169 47c06b0b47c3147f355054507bcc1001f922b1a8
child 33171 f4212f66b639624c507a68f1a6db487022ca9fdb
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersphilipp
bugs1476736
Bug 1476736 - Allow printing even if some caldav calendar is not available. r=philipp
calendar/providers/caldav/calDavCalendar.js
--- a/calendar/providers/caldav/calDavCalendar.js
+++ b/calendar/providers/caldav/calDavCalendar.js
@@ -1292,17 +1292,18 @@ calDavCalendar.prototype = {
                 this.mOfflineStorage.getItems(...arguments);
             } else {
                 this.notifyOperationComplete(aListener,
                                              Components.results.NS_OK,
                                              cIOL.GET,
                                              null,
                                              null);
             }
-        } else if (this.checkedServerInfo) {
+        } else if (this.checkedServerInfo ||
+                   this.getProperty("currentStatus") == Ci.calIErrors.READ_FAILED) {
             this.mOfflineStorage.getItems(...arguments);
         } else {
             this.mQueuedQueries.push(Array.from(arguments));
         }
     },
 
     fillACLProperties: function() {
         let orgId = this.calendarUserAddress;