Closed
Bug 284078
Opened 20 years ago
Closed 20 years ago
Calendar wizard doesn't accept local calendars
Categories
(Calendar :: Sunbird Only, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: stelian, Assigned: mostafah)
Details
Attachments
(1 file, 1 obsolete file)
|
2.56 KB,
patch
|
pavlov
:
first-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050224 Firefox/1.0.1 Fedora/1.0.1-1.3.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050224 Firefox/1.0.1 Fedora/1.0.1-1.3.1
When trying to create a local calendar in the wizard, clicking on 'Next' says
that the calendar is created ok, but clicking on 'Finish' does not do anything,
instead an error is printed on the console:
test
file:///tmp/test.ics
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "'[JavaScript Error:
"Components.classes["@mozilla.org/calendar/calendar;1?type=" + type] has no
properties" {file:
"file:///home/admin/mozilla-head/mozilla/dist/bin/components/calCalendarManager.js"
line: 149}]' when calling method: [calICalendarManager::createCalendar]"
nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location:
"JS frame :: chrome://calendar/content/calendar.js :: doCreateWizardFinish ::
line 1659" data: yes]
The only way to close the window is to "Cancel", and then many things are broken
because no calendars aredefined.
Reproducible: Always
Steps to Reproduce:
1. rm -rf ~/.mozilla
2. ./dist/bin/sunbird
3. try to create a local calendar, named 'test', located at 'file:///tmp/test.ics'
Comment 1•20 years ago
|
||
Ugh. For some reason,
"var type=document.getElementById("initial-radiogroup").value;" always ends up
giving an empty value. Workaround is in patch.
Also, there is no provider called local.
Attachment #175826 -
Flags: first-review?(pavlov)
Comment 2•20 years ago
|
||
Comment on attachment 175826 [details] [diff] [review] 1st attempt at fixing broken new calendar wizard hm, i swore I fixed this, but I don't see it in the tree. the first radio should be 'storage'. I'll land this in a few.
Comment 3•20 years ago
|
||
We should use the "storage" provider for local calendars.
Attachment #175944 -
Flags: first-review?(pavlov)
Comment 4•20 years ago
|
||
OK, I checked that in.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•20 years ago
|
||
The patch is not in CVS yet.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Comment 6•20 years ago
|
||
ok, i really checked it in this time
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Attachment #175826 -
Attachment is obsolete: true
Updated•20 years ago
|
Attachment #175826 -
Flags: first-review?(pavlov)
Updated•20 years ago
|
Attachment #175944 -
Flags: first-review?(pavlov) → first-review+
Comment 7•18 years ago
|
||
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in
before you can comment on or make changes to this bug.
Description
•