Open
Bug 1241079
Opened 9 years ago
Updated 3 years ago
Calendar doesn't show/import events/ics-Files due parsing problem
Categories
(Calendar :: Provider: ICS/WebDAV, defect)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: rubbel, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
Steps to reproduce:
I tried to import a .ics file into my calendar. Import was not possible. I got no error message too. Then I imported the file using ownclound without problems but some events where not shown in Lighting.
Thunderbird 38.3.0 / Lightning 4.0.4.1 / Debian Linux
PRODID:-//Ben Fortuna//iCal4j 1.0//EN
Actual results:
I opened the Javascript console and got the error messages like this.
Zeitstempel: 20.01.2016 11:59:18
Warnung: Failed to parse item: BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTAMP:20160118T202718Z
DTSTART;TZID=LHR1445734800000:20160314T183500
DTEND;VALUE=:20160314T212500Z
SUMMARY:LHR - TXL Flug BA0988 Abflug Mon\, 14 Mar 2016 18:35 (Zeit London)
UID:20160118T202723Z--1427068240@www.britishairways.com
DESCRIPTION:BA0988 Abflug Heathrow (London) terminal 5 am Mon\, 14 Mar 201
6 18:35 (Zeit London). Ankunft Tegel (Berlin) am Mon\, 14 Mar 2016 21:25 (
Zeit Berlin). Ihre Buchungsreferenznummer lautets XXXXXX.
LOCATION:Heathrow (London)
CLASS:PRIVATE
END:VEVENT
Exception:[Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [calIIcalComponent.endTime]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///home/hoeschen/.thunderbird/x1gebztt.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calItemBase.js :: cIB_mapPropsFromICS :: line 781" data: no]
Quelldatei: file:///home/hoeschen/.thunderbird/x1gebztt.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calDavCalendar.js
Zeile: 1041
Expected results:
The error indicates the function cIB_mapPropsFromICS and I assume that the
problem ist caused by the following line.
DTEND;VALUE=:20160314T212500Z
This problem seems to be older and yet unfixed.
For comparison. This is the corrected Event.
BEGIN:VEVENT
LAST-MODIFIED:20160120T105939Z
DTSTAMP:20160120T105939Z
UID:20160118T202723Z--1427068240@www.britishairways.com
SUMMARY:LHR - TXL Flug BA0988 Abflug Mon\, 14 Mar 2016 18:35 (Zeit London)
DTSTART;TZID=Europe/Berlin:20160314T193500
DTEND;TZID=Europe/Berlin:20160314T222500
DESCRIPTION:BA0988 Abflug Heathrow (London) terminal 5 am Mon\, 14 Mar 20
16 18:35 (Zeit London). Ankunft Tegel (Berlin) am Mon\, 14 Mar 2016 21:25
(Zeit Berlin). Ihre Buchungsreferenznummer lautets XXXXXX.
LOCATION:Heathrow (London)
CLASS:PRIVATE
END:VEVENT
Keywords: calendar-integration
OS: Unspecified → All
Hardware: Unspecified → All
Whiteboard: Lightning seems to have problems parsing icalData
Comment 1•9 years ago
|
||
The example ics is not valid iCalendar event data. In my opinion it cannot be expected that Lightning can parse invalid data. Lightning does one thing it can do: report the invalid event and continue.
Keywords: calendar-integration
Whiteboard: Lightning seems to have problems parsing icalData
It would be nice to know where the ics data is invalid.
At my laptop I got a error message after I restarted thunderdird.
As guessed it's the ivalid timezone.
But other calendars are more tolerant with the file.
At least thunderbird should ignore the invalid line and continue.
Updated•9 years ago
|
Version: Lightning 4.4 → Lightning 4.0.4.1
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•