Closed
Bug 349707
Opened 19 years ago
Closed 19 years ago
for any .ics, File->Import gives "error getting calendar"
Categories
(Calendar :: Import and Export, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: andrewz, Unassigned)
Details
Attachments
(1 file)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
When I use File->Import, I get an error trying to import either my normal calendar or a sample .ics from Apple.
Reproducible: Always
Steps to Reproduce:
1. Start with just one calendar Home which is local and empty.
2. Click File->Import.
3. Choose the sample.ics attached.
Actual Results:
There are two error dialogs. Here's the first:
Error dialog title:
"Error getting calendar"
Error dialog contents:
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [calIIcalComponent.startTime]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Documents%20and%20Settings/andrewz/Desktop/sunbird-0.3a2+.en-US.win32/sunbird/js/calItemBase.js :: anonymous :: line 508" data: no]
Source File: file:///C:/Documents%20and%20Settings/andrewz/Desktop/sunbird-0.3a2+.en-US.win32/sunbird/js/calItemBase.js
Line: 508
The second error dialog has the same title but the contents is "31 items failed to import. The last error was 2147500037" which is garbage since those numbers are the same whether there are one or more items.
Then, no entries appear in the calendar.
Expected Results:
.ics is imported successfully
I am using the Sunbird nightly .zip downloaded today.
I tested with sample iCal from http://developer.apple.com/internet/appleapplications/icalendarfiles.html
Comment 2•19 years ago
|
||
(In reply to comment #1)
> Created an attachment (id=234933) [edit]
> simple, 1-item iCal from
> http://developer.apple.com/internet/appleapplications/icalendarfiles.html
>
There's no timezone information published in that file. Therefore, it's invalid ICS.
In sample.ics, I see two references to the US Pacific time zone. Those don't count?
Comment 4•19 years ago
|
||
(In reply to comment #3)
> In sample.ics, I see two references to the US Pacific time zone. Those don't
> count?
>
Timezones referenced via TZID= need to be defined elsewhere in the ics file, via a VTIMEZONE component. See http://rfc.net/rfc2445.html#p97
Part of the problem was Apple's own .ics was invalid. Also, clearing my Sunbird data directory allows other files to be imported. So, I'm marking this INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Updated•18 years ago
|
Attachment #234933 -
Attachment mime type: application/octet-stream → text/plain
You need to log in
before you can comment on or make changes to this bug.
Description
•