Closed Bug 825421 Opened 12 years ago Closed 11 years ago

offline support | major stability/function issues | Lightning 1.9

Categories

(Calendar :: Provider: CalDAV, defect)

Lightning 1.9
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: cooch17, Unassigned)

Details

(Whiteboard: [calconnect31])

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11 Steps to reproduce: I use Lightning 1.9 with T'bird 17.0. Calendar server is my Google calendar - use calDav for handshaking. Prior to Lightning 1.9, I had no apparent problems using local (offline) support. I could create/ad/delete events, and when I was back online, things would sync up properly. Not the case with 1.9. Actual results: Here is a sequence of events. 1\ turned on calendar logging 2\ turned off offline support - cleared error console. 3\ shutdown T'bird, then restarted, while watching error console. Few minor issues (warnings), but nothing that seems 'critical': Timestamp: 12/29/2012 10:39:12 AM Warning: Use of Mutation Events is deprecated. Use MutationObserver instead. Source File: chrome://calendar/content/widgets/calendar-widgets.xml Line: 306 Timestamp: 12/29/2012 10:39:13 AM Warning: Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead. Source File: resource://calendar/modules/calXMLUtils.jsm Line: 32 Timestamp: 12/29/2012 10:39:13 AM Warning: Use of attributes' ownerDocument attribute is deprecated. Source File: resource://calendar/modules/calXMLUtils.jsm Line: 32 4\ tried creating new event on calendar. No problems at all. 5\ tried deleting same event after shutdown, restart of T'bird - calDav reports no problems. Item deletes without incident. 6\ try deleting single instance of recurring event - major fail. Timestamp: 12/29/2012 10:43:00 AM Error: CalDAV: Unexpected status modifying item to egc-calendar: 404 BEGIN:VCALENDAR PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN VERSION:2.0 BEGIN:VTIMEZONE TZID:America/New_York X-LIC-LOCATION:America/New_York BEGIN:DAYLIGHT TZOFFSETFROM:-0500 TZOFFSETTO:-0400 TZNAME:EDT DTSTART:19700308T020000 RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0400 TZOFFSETTO:-0500 TZNAME:EST DTSTART:19701101T020000 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11 END:STANDARD END:VTIMEZONE BEGIN:VEVENT CREATED:20120406T131139Z LAST-MODIFIED:20121229T154300Z DTSTAMP:20121229T154300Z UID:8c32fcd7-07cf-40c8-ac72-2a9b7bf9b7da SUMMARY:NTRES 3100 lecture STATUS:CONFIRMED RRULE:FREQ=WEEKLY;UNTIL=20121130T183500Z;BYDAY=TH EXDATE:20121122T182500Z EXDATE:20121129T182500Z CATEGORIES:Teaching X-MOZ-LASTACK:20121129T233644Z DTSTART;TZID=America/New_York:20120823T132500 DTEND;TZID=America/New_York:20120823T144000 X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for DESCRIPTION pro perty. Removing entire property: LOCATION:Warren 131 SEQUENCE:3 TRANSP:OPAQUE X-MOZ-GENERATION:22 BEGIN:VALARM ACTION:DISPLAY TRIGGER;VALUE=DURATION:-PT25M DESCRIPTION:This is an event reminder END:VALARM END:VEVENT BEGIN:VEVENT CREATED:20120406T131139Z LAST-MODIFIED:20121129T233651Z DTSTAMP:20121129T233651Z UID:8c32fcd7-07cf-40c8-ac72-2a9b7bf9b7da SUMMARY:NTRES 3100 - Exam Review STATUS:CONFIRMED RECURRENCE-ID;TZID=America/New_York:20121018T132500 CATEGORIES:Teaching DTSTART;TZID=America/New_York:20121018T132500 DTEND;TZID=America/New_York:20121018T144000 X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for DESCRIPTION pro perty. Removing entire property: LOCATION:Warren 131 SEQUENCE:2 TRANSP:OPAQUE X-MOZ-GENERATION:10 BEGIN:VALARM ACTION:DISPLAY TRIGGER;VALUE=DURATION:-PT25M DESCRIPTION:This is an event reminder END:VALARM END:VEVENT END:VCALENDAR followed by Timestamp: 12/29/2012 10:43:00 AM Error: An error occurred when writing to the calendar egc-calendar! Error code: MODIFICATION_FAILED. Description: Status Code: 2147500037, The request cannot be processed. Server Replied with 404 Source File: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js Line: 975 OK - bad enough. Now for the big error(s). tried using offline support. 1\ clear error console. restart T'bird. 2\ open up error console - then flip the switch to turn *on* offline support. 3\ look at error console - MUCH unhappiness ensues: Timestamp: 12/29/2012 10:43:00 AM Error: An error occurred when writing to the calendar egc-calendar! Error code: MODIFICATION_FAILED. Description: Status Code: 2147500037, The request cannot be processed. Server Replied with 404 Source File: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js Line: 975 Timestamp: 12/29/2012 10:46:55 AM Error: [Exception... "'[JavaScript Error: "getSelectedCalendar(...) is null" {file: "chrome://calendar/content/calendar-task-editing.js" line: 188}]' when calling method: [calIObserver::onPropertyDeleting]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js :: notifyFunc :: line 1361" data: yes] STACK: 1: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1364] notifyFunc 2: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1367] calListenerBag_notify 3: [resource://calendar/modules/calProviderUtils.jsm:473] calObserverBag_notify 4: [resource://calendar/modules/calProviderUtils.jsm:797] cPB_deleteProperty 5: [file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:203] cCC_removeCalendar 6: [chrome://calendar/content/widgets/calendar-list-tree.xml:520] removeCalendar 7: [chrome://calendar/content/widgets/calendar-list-tree.xml:84] cMO_onCalendarUnregistering 8: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1361] notifyFunc 9: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1367] calListenerBag_notify 10: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js:783] null Source File: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js Line: 1364 Timestamp: 12/29/2012 10:46:55 AM Error: [Exception... "'[JavaScript Error: "getSelectedCalendar(...) is null" {file: "chrome://calendar/content/calendar-task-editing.js" line: 188}]' when calling method: [calIObserver::onPropertyDeleting]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js :: notifyFunc :: line 1361" data: yes] STACK: 1: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1364] notifyFunc 2: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1367] calListenerBag_notify 3: [resource://calendar/modules/calProviderUtils.jsm:473] calObserverBag_notify 4: [resource://calendar/modules/calProviderUtils.jsm:797] cPB_deleteProperty 5: [file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:203] cCC_removeCalendar 6: [chrome://calendar/content/widgets/calendar-list-tree.xml:520] removeCalendar 7: [chrome://calendar/content/widgets/calendar-list-tree.xml:84] cMO_onCalendarUnregistering 8: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1361] notifyFunc 9: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1367] calListenerBag_notify 10: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js:783] null Source File: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/egc/AppData/Roaming/Thunderbird/Profiles/bb4vmey1.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js Line: 1364 4\ After the offline cache is (re)built, try creating a new event. Seems to go OK, but when I try to delete it...it won't delete. No error message either. Expected results: Well, clearly, offline support throws a large number of errors, and for some reason has become more or less unusable.
Whiteboard: [calconnect31]
Offline support and Google Calendar's CalDAV server was greatly improved in the last 2 years, could you try this again? Also, if you can still reproduce, could you tell me what URLs the requests are being made to? I think this might be solvable with bug 456380. Closing INCOMPLETE for now, please reopen if this bug still exists.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.