Closed
Bug 379730
Opened 19 years ago
Closed 19 years ago
Import of an Outlook .ics file fails to get start/end dates
Categories
(Calendar :: Import and Export, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: pjbondi, Unassigned)
Details
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4pre) Gecko/20070504 Calendar/0.5pre
If I write an Outlook .ics file and import it into Calendar, then it ignores the start and end time.
Reproducible: Always
Steps to Reproduce:
1. Create event in Outlook
2. Mail it to yourself
3. Save meeting.ics file
4. Import into Calendar
5. There is no start/end time
Expected Results:
Sunbird 0.3.1 would always successfully import an Outlook .ics file
| Reporter | ||
Comment 1•19 years ago
|
||
| Reporter | ||
Comment 2•19 years ago
|
||
Please note that start and end times are for today. My dentist appt is in June.
Comment 3•19 years ago
|
||
Please attach the sample .ics file in question and not a screenshot.
| Reporter | ||
Comment 4•19 years ago
|
||
Comment 5•19 years ago
|
||
I can confirm the issue. This is what I see in Error Console:
Error: No trigger property for alarm on item: 040000008200E00074C5B7101A82E008000000007059B3C0478EC701000000000000000
010000000B795DA8FCF506047B6DDD18A14B14912
Source File: file:///D:/sunbird/js/calItemBase.js
Line: 603
Error: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIScriptableDateFormat.FormatDate]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: file:///D:/Programme/sunbird/js/calDateTimeFormatter.js :: formatDateLong :: line 149" data: no]
Source File: file:///D:/sunbird/js/calDateTimeFormatter.js
Line: 149
This seems to be caused by faulty line endings in the .ics file. Each line in the attached .ics ends with \r\r\n.
If I replace the faulty line endings with normal \r\n line ending the import works fine.
Comment 6•19 years ago
|
||
Sunbird/0.3 (20061006) fails with the same error message, so this is no regression as said in Comment #0.
| Reporter | ||
Comment 7•19 years ago
|
||
I think this is a bug in the Alpine e-mail client that I used to save the .ics file.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•