Unable to parse Lotus Notes VCALENDAR items
Categories
(Calendar :: General, defect)
Tracking
(Not tracked)
People
(Reporter: volker.schmid, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
1.63 KB,
text/calendar
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0
Steps to reproduce:
I received an appointment from a Lotus Notes user. I click the message for viewing.
Actual results:
The message displays empty. The error console shows the followjng error:
Calendar: ParserError: invalid line (no token ";" or ":") "-- "'ParserError: invalid line (no token ";" or ":") "-- "' when calling method: [calIICSService::parseICS] when parsing
BEGIN:VCALENDAR
X-LOTUS-CHARSET:UTF-8
VERSION:2.0
PRODID:-//Lotus Development Corporation//NONSGML Notes 12.0//EN_C
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Romance Standard Time
BEGIN:STANDARD
DTSTART:19501029T020000
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;BYMINUTE=0;BYHOUR=2;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19500326T020000
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RRULE:FREQ=YEARLY;BYMINUTE=0;BYHOUR=2;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID="Romance Standard Time":20221107T150000
DTEND;TZID="Romance Standard Time":20221107T170000
TRANSP:OPAQUE
DTSTAMP:20221031T150046Z
SEQUENCE:0
ATTENDEE;ROLE=CHAIR;PARTSTAT=ACCEPTED;CN="Sebastien Anonymized/Company"
;RSVP=FALSE:mailto:sebastien.anonymized@company.lu
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE
:mailto:test.tester@recipientCompany.com
CLASS:PUBLIC
DESCRIPTION;ALTREP="CID:<FFFF__=4EBB027FDFC1C4FE8f9e8a93df938690918c4EBB027FDFC1C4FE@>":\
n\n
SUMMARY:Install Regigate
ORGANIZER;CN="Sebastien Anonymized/Company":mailto:sebastien.anonymized@company.lu
UID:EE068D6927BD0563C12588EC0052426E-Lotus_Notes_Generated
X-LOTUS-BROADCAST:FALSE
X-LOTUS-UPDATE-SEQ:1
X-LOTUS-UPDATE-WISL:$S:1;$L:1;$B:1;$R:1;$E:1;$W:1;$O:1;$M:1;RequiredAttendees:1;INetRequiredNames:1;AltRequiredNames:1;StorageRequiredNames:1;OptionalAttendees:1;INetOptionalNames:1;AltOptionalNames:1;StorageOptionalNames:1;ApptUNIDURL:1;STUnyteConferenceURL:1;STUnyteConferenceID:1;SametimeType:1;WhiteBoardContent:1;STRoomName:1;$ECPAllowedItems:1
X-LOTUS-NOTESVERSION:2
X-LOTUS-NOTICETYPE:I
X-LOTUS-APPTTYPE:3
X-LOTUS-CHILD-UID:EE068D6927BD0563C12588EC0052426E
END:VEVENT
END:VCALENDAR
--
--
Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des informations confidentielles et/ou protegees ou dont la diffusion est restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. Le Service de Sante au Travail Multisectoriel decline toute responsabilite en cas de corruption par virus, d'alteration ou de falsification de ce courriel lors de sa transmission par voie electronique.
--------------------------------------------------------------------------------------------------------------
This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system.The Service de Santé au Travail Multisectoriel disclaim any and all liability if this email transmission was virus corrupted, altered or falsified.
CalIcsParser.jsm:156
The message MIME encoding was like this:
--=_alternative EE068D6927BD0563C12588EC0052426E_=
Content-Type: text/calendar; method="REQUEST"; charset="UTF-8"
BEGIN:VCALENDAR
X-LOTUS-CHARSET:UTF-8
VERSION:2.0
PRODID:-//Lotus Development Corporation//NONSGML Notes 12.0//EN_C
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Romance Standard Time
BEGIN:STANDARD
DTSTART:19501029T020000
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;BYMINUTE=0;BYHOUR=2;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19500326T020000
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RRULE:FREQ=YEARLY;BYMINUTE=0;BYHOUR=2;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID="Romance Standard Time":20221107T150000
DTEND;TZID="Romance Standard Time":20221107T170000
TRANSP:OPAQUE
DTSTAMP:20221031T150046Z
SEQUENCE:0
ATTENDEE;ROLE=CHAIR;PARTSTAT=ACCEPTED;CN="Sebastien Anonymized/Company"
;RSVP=FALSE:mailto:sebastien.anonymized@company.lu
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE
:mailto:teste.tester@recipientCompany.com
CLASS:PUBLIC
DESCRIPTION;ALTREP="CID:<FFFF__=4EBB027FDFC1C4FE8f9e8a93df938690918c4EBB027FDFC1C4FE@>":\
n\nÂ
SUMMARY:Install Regigate
ORGANIZER;CN="Sebastien Anonymized/Company":mailto:sebastien.anonymized@company.lu
UID:EE068D6927BD0563C12588EC0052426E-Lotus_Notes_Generated
X-LOTUS-BROADCAST:FALSE
X-LOTUS-UPDATE-SEQ:1
X-LOTUS-UPDATE-WISL:$S:1;$L:1;$B:1;$R:1;$E:1;$W:1;$O:1;$M:1;RequiredAttendees:1;INetRequiredNames:1;AltRequiredNames:1;StorageRequiredNames:1;OptionalAttendees:1;INetOptionalNames:1;AltOptionalNames:1;StorageOptionalNames:1;ApptUNIDURL:1;STUnyteConferenceURL:1;STUnyteConferenceID:1;SametimeType:1;WhiteBoardContent:1;STRoomName:1;$ECPAllowedItems:1
X-LOTUS-NOTESVERSION:2
X-LOTUS-NOTICETYPE:I
X-LOTUS-APPTTYPE:3
X-LOTUS-CHILD-UID:EE068D6927BD0563C12588EC0052426E
END:VEVENT
END:VCALENDAR
--
--
Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des informations confidentielles et/ou protegees ou dont la diffusion est restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. Le Service de Sante au Travail Multisectoriel decline toute responsabilite en cas de corruption par virus, d'alteration ou de falsification de ce courriel lors de sa transmission par voie electronique.
--------------------------------------------------------------------------------------------------------------
This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system.The Service de Santé au Travail Multisectoriel disclaim any and all liability if this email transmission was virus corrupted, altered or falsified.
--=_alternative EE068D6927BD0563C12588EC0052426E_=--
Expected results:
I expected the calendar entry to be showed and to be accepted or denied.
Comment 1•2 years ago
|
||
Could you attach the message as .eml? What you pasted is kind of invalid (missing essential spaces etc.)
I just attached an anonymized .eml file that reproduces the issue.
Comment 3•2 years ago
|
||
The mail was too wrangled. But here's the ics file.
Comment 4•2 years ago
|
||
On 102 that parses just fine. Also parses fine on trunk, but there I get an error "Could not find definition for Romance Standard Time", so the event gets set to the wrong time. Sean, that seems like it's a fairly common timezone. Anything we could fix?
The ICS is parsing fine, but the email I attached does not! So maybe it is not a calendar thing but a MIME parsing issue? I think you cannot reduce the issue to just the ICS part. The .eml file clearly reproduces the issue on Thunderbird 102.4.1. Just double click it and have a look.
Comment 6•2 years ago
|
||
The attached .eml doesn't show any invite at all.
(In reply to Magnus Melin [:mkmelin] from comment #6)
The attached .eml doesn't show any invite at all.
It does! Open it in a text editor and you will see. But TB does not display it. That is what the bug is :-)
I mean the .eml does contain the invite, but Thunderbird does not display. Sadly I cannot edit the previous comment.
Comment 9•2 years ago
|
||
Oh, I see. But the text/calendar includes all the extra text, it should be only calendar data. Invalid input. All the things after END:VCALENDAR until the end of that mime part should not be there.
Reporter | ||
Comment 10•2 years ago
|
||
I understand. But this is how I got an invitation from a Lotus Notes users. Sadly, I cannot tell more details except some data from the email header:
X-Mailer: HCL Notes Release 12.0 May 14, 2021
I think there may be another tool that the sender company is using. This tool is adding some default footer at the end. And it seems that it fails in locating a valid mime part for that. It added its default footer to the text/calendar part, which is wrong.
The thing is, that Outlook and even DomainFactory and RoundCube webmail does process this as usual. Due to definition, the VCALENDR ends with an empty line (at least it does not allow empty lines in between). Looks like if others simply ignore the rest after the VCALENDR part ended...
Comment 11•2 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #4)
On 102 that parses just fine. Also parses fine on trunk, but there I get an error "Could not find definition for Romance Standard Time", so the event gets set to the wrong time. Sean, that seems like it's a fairly common timezone. Anything we could fix?
This shouldn't really be an issue since the VTIMEZONE definition is there. We could potentially try to recognize TZIDs from metazone IDs, but this doesn't actually seem like an error condition.
As to the parsing issue, it makes sense to me that if we have successfully parsed a valid VCALENDAR block before we encounter a parse error, we could accept the parse instead of failing it.
Description
•