Closed
Bug 295990
Opened 20 years ago
Closed 20 years ago
can only create one storage (local) calendar using the wizard
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
RESOLVED
FIXED
Lightning 0.1
People
(Reporter: mvl, Assigned: shaver)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
1.65 KB,
patch
|
vlad
:
first-review+
pavlov
:
second-review+
|
Details | Diff | Splinter Review |
The wizard uses moz-profile:// as url for a local storage calendar. It should add ?id=<n> to be able to create multiple calendars. Or should the storage calendar be more helpful? That would mean it changes the url. Is that a good thing?
This was supposed to be handled by the per-provider calICalendarProvider service, or so I thought...
| Reporter | ||
Updated•20 years ago
|
Keywords: regression
Comment 2•20 years ago
|
||
Using a Windows debug build of Thunderbird, I get the following debug output (starting from when I clicked the "New..." button to create a new calendar) ++WEBSHELL == 5 ++DOMWINDOW == 5 asdad moz-profile-calendar:// storage *** Calendar schema version is: 3 registerCalendar: calendar already registered ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'Failure' when calling method: [calICalendarManager::registerCale ndar]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome ://calendar/content/calendarCreation.js :: doCreateCalendar :: line 90" data: n o] ************************************************************ ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'Failure' when calling method: [calICalendarManager::registerCale ndar]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome ://calendar/content/calendarCreation.js :: doCreateCalendar :: line 90" data: n o] ************************************************************
Updated•20 years ago
|
Assignee: mostafah → dmose
| Assignee | ||
Comment 3•20 years ago
|
||
Taking, I have a small patch that fixed this without the need for all the provider infrastructure, which will let us ship 0.8.
| Assignee | ||
Comment 4•20 years ago
|
||
This causes some strange behaviour when you delete a calendar from the list and then add a new one, because "delete" only unregisters. It should prompt-and-delete anyway (bug 298373).
Attachment #186936 -
Flags: second-review?(pavlov)
Attachment #186936 -
Flags: first-review?(vladimir)
Comment on attachment 186936 [details] [diff] [review] Start at id=2, and find the first unallocated one in the list. r=vladimir
Attachment #186936 -
Flags: first-review?(vladimir) → first-review+
Updated•20 years ago
|
Attachment #186936 -
Flags: second-review?(pavlov) → second-review+
| Assignee | ||
Updated•20 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Target Milestone: --- → Lightning 0.8
Updated•19 years ago
|
QA Contact: gurganbl → sunbird
You need to log in
before you can comment on or make changes to this bug.
Description
•