Ical.js fails parsing on invalid line despite full VCALENDAR object (but junk after it)
Categories
(Calendar :: ICAL.js Integration, defect)
Tracking
(thunderbird_esr115 affected)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr115 | --- | affected |
People
(Reporter: stefan, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Steps to reproduce:
Receive a message from an Office365 sender.
Actual results:
On the console:
JavaScript error: resource:///modules/calendar/Ical.jsm, line 2077: TypeError: state.component[1] is undefined
console.error: Calendar:
[JavaScript Error: "state.component[1] is undefined" {file: "resource:///modules/calendar/Ical.jsm" line: 2077}]'[JavaScript Error: "state.component[1] is undefined" {file: "resource:///modules/calendar/Ical.jsm" line: 2077}]' when calling method: [calIICSService::parseICS] when parsing
Expected results:
The invitation should be displayed.
Invitation is available on request.
Comment 1•2 years ago
|
||
Please post the invitation or—if you're not comfortable posting it on Bugzilla—email me via the Bugzilla mail function.
| Reporter | ||
Comment 2•2 years ago
|
||
Send by mail.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Did you receive it and did you figure out what what the matter with it?
| Reporter | ||
Comment 4•2 years ago
|
||
I can forward it to any other person too. I would prefer invites that already have passed.
Comment 5•2 years ago
|
||
You can forward it to me as well yes.
Comment 6•2 years ago
|
||
I did receive the invitation; sorry for not responding before this. The issue with the invitation in question is the last line, beginning !DSPAM. For several reasons, this isn't valid a valid iCalendar content line. We probably shouldn't be failing entirely on encountering it, especially if we've successfully parsed the rest of the file, but that's the source of the problem.
Updated•2 years ago
|
| Reporter | ||
Comment 7•2 years ago
|
||
Sean: thanks for this clarification.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•