Closed
Bug 813476
Opened 12 years ago
Closed 11 years ago
Enabling offline support for CalDAV calendar breaks dialogs or makes calendar disappear
Categories
(Calendar :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.9.1
People
(Reporter: TheOne, Assigned: Fallen)
Details
Attachments
(1 file)
1.18 KB,
patch
|
mmecca
:
review+
mmecca
:
approval-calendar-aurora+
mmecca
:
approval-calendar-beta+
mmecca
:
approval-calendar-esr+
|
Details | Diff | Splinter Review |
I'm trying to add a private calendar via CalDAV. When adding a new calendar and enabling offline support, the dialog does not close at the end, but an error is shown in the error console. STR: 1. Open the "New Calendar" dialog. 2. Check "CalDAV" and fill in an address to a CalDav server. 3. Check "Offline Support". 4. Click "Next". 5. Enter a name for the calendar and click "Next". Expected behaviour: The dialog should close and the calendar should be added. Actual behaviour: The dialog does not close. The following error is shown at the error console: Error: '<error>' when calling method: [calICalendar::id] = <unknown> Source file: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/awagner/AppData/Roaming/Thunderbird/Profiles/9qtdiaml.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCachedCalendar.js Line: 194 Adding the same calendar without offline support works fine. However, if I go the the calendar properties afterwards and enable offline support, after clicking OK the calendar just disappears completely. The following error is shown at the error console: Error: [Exception... "'[JavaScript Error: "this.mOfflineStorage is null" {file: "file:///C:/Users/awagner/AppData/Roaming/Thunderbird/Profiles/9qtdiaml.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calDavCalendar.js" line: 259}]' when calling method: [calIChangeLog::offlineStorage]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/awagner/AppData/Roaming/Thunderbird/Profiles/9qtdiaml.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCachedCalendar.js :: calCachedCalendar :: line 123" data: yes] STACK: 1: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/awagner/AppData/Roaming/Thunderbird/Profiles/9qtdiaml.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1364] notifyFunc 2: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/awagner/AppData/Roaming/Thunderbird/Profiles/9qtdiaml.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:790] cPB_setProperty 5: [chrome://calendar/content/calendar-properties-dialog.js:98] onAcceptDialog 6: [chrome://lightning/content/lightning-calendar-properties.js:16] ltn_onAcceptDialog 7: [chrome://global/content/bindings/dialog.xml:367] anonymous 8: [chrome://global/content/bindings/dialog.xml:368] _fireButtonEvent 9: [chrome://global/content/bindings/dialog.xml:342] _doButtonCommand 10: [chrome://global/content/bindings/dialog.xml:331] _handleButtonCommand Source file: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/awagner/AppData/Roaming/Thunderbird/Profiles/9qtdiaml.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js Line: 1364
Comment 1•12 years ago
|
||
It also happens for "Google Calendars" too.Enabling Offline mode deletes or hides the calendar.
Assignee | ||
Comment 2•12 years ago
|
||
"In this tragic accident, investigators found it was a break failure. Many cached calendars were lost."
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #686531 -
Flags: review?(matthew.mecca)
Attachment #686531 -
Flags: approval-calendar-beta?(matthew.mecca)
Attachment #686531 -
Flags: approval-calendar-aurora?(matthew.mecca)
Assignee | ||
Updated•12 years ago
|
Whiteboard: [wanted-1.9.x]
Comment 3•12 years ago
|
||
Comment on attachment 686531 [details] [diff] [review] Fix - v1 Case closed. r=mmecca
Attachment #686531 -
Flags: review?(matthew.mecca)
Attachment #686531 -
Flags: review+
Attachment #686531 -
Flags: approval-calendar-beta?(matthew.mecca)
Attachment #686531 -
Flags: approval-calendar-beta+
Attachment #686531 -
Flags: approval-calendar-aurora?(matthew.mecca)
Attachment #686531 -
Flags: approval-calendar-aurora+
Comment 4•11 years ago
|
||
comm-central - http://hg.mozilla.org/comm-central/rev/d496343ae08b comm-aurora - http://hg.mozilla.org/releases/comm-aurora/rev/ed5f1c59ead3 comm-beta - http://hg.mozilla.org/releases/comm-beta/rev/a708cd301a37
OS: Windows 7 → All
Hardware: x86_64 → All
Target Milestone: --- → 2.1
Updated•11 years ago
|
Attachment #686531 -
Flags: approval-calendar-release+
Comment 5•11 years ago
|
||
comm-esr17 - https://hg.mozilla.org/releases/comm-esr17/rev/cdeed7b9449b
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: 2.1 → 1.9.1
Updated•11 years ago
|
Whiteboard: [wanted-1.9.x]
You need to log in
before you can comment on or make changes to this bug.
Description
•