Bug 1650925 Comment 7 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The errors are indeed due to this patch.  Synchronizing a caldav calendar fails: 
```
console.log: Lightning: [calCachedCalendar] Performing playback operation add on 0 items to FM test cal
console.log: Lightning: [calCachedCalendar] Performing playback operation modify on 0 items to FM test cal
console.log: Lightning: [calCachedCalendar] Performing playback operation delete on 0 items to FM test cal
console.log: Lightning: [calCachedCalendar] Doing changelog based sync for calendar https://caldav.fastmail.com/dav/calendars/user/[...]
console.debug: Lightning: 
  CalDAV: send (PROPFIND https://caldav.fastmail.com/dav/calendars/user/[...]/): <?xml version="1.0" encoding="UTF-8"?>
<D:propfind xmlns:D='DAV:' xmlns:C='urn:ietf:params:xml:ns:caldav' xmlns:CS='http://calendarserver.org/ns/'><D:prop><D:resourcetype/><D:owner/><D:current-user-principal/><D:supported-report-set/><C:supported-calendar-component-set/><CS:getctag/></D:prop></D:propfind>
JavaScript error: resource://devtools/server/actors/network-monitor/network-response-listener.js, line 89: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIInterfaceRequestor.getInterface]
JavaScript error: resource://devtools/server/actors/network-monitor/utils/channel-map.js, line 57: TypeError: this.weakMap.get(...) is undefined
JavaScript error: resource://devtools/server/actors/network-monitor/utils/channel-map.js, line 57: TypeError: this.weakMap.get(...) is undefined
console.log: Lightning: CalDAV: Error during initial PROPFIND for calendar FM test cal: [object Object]
console.warn: Lightning: There has been an error reading data for calendar: FM test cal.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DAV_NOT_DAV. Description: The resource at https://caldav.fastmail.com/dav/calendars/user/[...] is either not a DAV collection or not available
console.warn: Lightning: There has been an error reading data for calendar: FM test cal.  However, this error is believed to be minor, so the program will attempt to continue. Error code: READ_FAILED. Description: 
console.error: Lightning: 
  [calCachedCalendar] replay action failed: <unknown>, uri=https://caldav.fastmail.com/dav/calendars/user/[...], result=2147500037, operation=[xpconnect wrapped calIOperation]
console.log: Lightning: [calCachedCalendar] replayChangesOn finished.
console.log: Lightning: [calCachedCalendar] sync queue empty.
```
The errors are indeed due to this patch.  Synchronizing a caldav calendar fails: 
```
console.log: Lightning: [calCachedCalendar] Doing changelog based sync for calendar https://caldav.fastmail.com/dav/calendars/user/[...]
console.debug: Lightning: 
  CalDAV: send (PROPFIND https://caldav.fastmail.com/dav/calendars/user/[...]/): <?xml version="1.0" encoding="UTF-8"?>
<D:propfind xmlns:D='DAV:' xmlns:C='urn:ietf:params:xml:ns:caldav' xmlns:CS='http://calendarserver.org/ns/'><D:prop><D:resourcetype/><D:owner/><D:current-user-principal/><D:supported-report-set/><C:supported-calendar-component-set/><CS:getctag/></D:prop></D:propfind>
JavaScript error: resource://devtools/server/actors/network-monitor/network-response-listener.js, line 89: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIInterfaceRequestor.getInterface]
JavaScript error: resource://devtools/server/actors/network-monitor/utils/channel-map.js, line 57: TypeError: this.weakMap.get(...) is undefined
JavaScript error: resource://devtools/server/actors/network-monitor/utils/channel-map.js, line 57: TypeError: this.weakMap.get(...) is undefined
console.log: Lightning: CalDAV: Error during initial PROPFIND for calendar FM test cal: [object Object]
console.warn: Lightning: There has been an error reading data for calendar: FM test cal.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DAV_NOT_DAV. Description: The resource at https://caldav.fastmail.com/dav/calendars/user/[...] is either not a DAV collection or not available
console.warn: Lightning: There has been an error reading data for calendar: FM test cal.  However, this error is believed to be minor, so the program will attempt to continue. Error code: READ_FAILED. Description: 
console.error: Lightning: 
  [calCachedCalendar] replay action failed: <unknown>, uri=https://caldav.fastmail.com/dav/calendars/user/[...], result=2147500037, operation=[xpconnect wrapped calIOperation]
console.log: Lightning: [calCachedCalendar] replayChangesOn finished.
console.log: Lightning: [calCachedCalendar] sync queue empty.
```
The errors are indeed due to this patch.  Synchronizing a caldav calendar fails: 
```
console.log: Lightning: [calCachedCalendar] Doing changelog based sync for calendar https://caldav.fastmail.com/dav/calendars/user/[...]
console.debug: Lightning: 
  CalDAV: send (PROPFIND https://caldav.fastmail.com/dav/calendars/user/[...]/): <?xml version="1.0" encoding="UTF-8"?>
<D:propfind xmlns:D='DAV:' xmlns:C='urn:ietf:params:xml:ns:caldav' xmlns:CS='http://calendarserver.org/ns/'><D:prop><D:resourcetype/><D:owner/><D:current-user-principal/><D:supported-report-set/><C:supported-calendar-component-set/><CS:getctag/></D:prop></D:propfind>
JavaScript error: resource://devtools/server/actors/network-monitor/network-response-listener.js, line 89: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIInterfaceRequestor.getInterface]
JavaScript error: resource://devtools/server/actors/network-monitor/utils/channel-map.js, line 57: TypeError: this.weakMap.get(...) is undefined
JavaScript error: resource://devtools/server/actors/network-monitor/utils/channel-map.js, line 57: TypeError: this.weakMap.get(...) is undefined
console.log: Lightning: CalDAV: Error during initial PROPFIND for calendar FM test cal: [object Object]
console.warn: Lightning: There has been an error reading data for calendar: FM test cal.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DAV_NOT_DAV. Description: The resource at https://caldav.fastmail.com/dav/calendars/user/[...] is either not a DAV collection or not available
console.warn: Lightning: There has been an error reading data for calendar: FM test cal.  However, this error is believed to be minor, so the program will attempt to continue. Error code: READ_FAILED. Description: 
console.error: Lightning: 
  [calCachedCalendar] replay action failed: <unknown>, uri=https://caldav.fastmail.com/dav/calendars/user/[...], result=2147500037, operation=[xpconnect wrapped calIOperation]
```

Back to Bug 1650925 Comment 7