Open Bug 1792271 Opened 2 years ago Updated 2 years ago

ics import error for line ORGANIZER;CN=""

Categories

(Calendar :: ICAL.js Integration, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(1 file)

749 bytes, text/calendar
Details
Attached file testcal.ics —

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0

Steps to reproduce:

Try to add ics-calendar or import .ics-file in two ways:
1.) open an ics-file with thunderbird in WIN 10 PRO 64.
n
2) try to syncronize this file from network

Actual results:

When I try to open the ics-file with thunderbird, an error "Import aus C:\Users\Chnutz\Desktop\testcal.ics nicht möglich. Es gibt keine importierbaren Einträge in der Datei." appears. (Translation: import [...] not possible. There are no importable items it the file).
I tested the file in https://icalendar.org/validator.html and it hits perfect the RFC 5545 specification.
I tested the import in another calendar-tool and it worked perfect.

When I synchrobize the file no error appears but no dates are shown either.

I attach my test file below.

Expected results:

The dates should be imported or synchronized in thunderbird calendar.

Component: Untriaged → Import and Export
Product: Thunderbird → Calendar

I get

Calendar: ParserError: Missing parameter value in 'ORGANIZER;CN=""''ParserError: Missing parameter value in 'ORGANIZER;CN=""'' when calling method: [calIICSService::parseICS] when parsing

The line is ORGANIZER;CN=""
https://searchfox.org/comm-central/rev/acc21a9a5e4c5f10f85b8d96eb95ff92ea7692f7/calendar/base/modules/Ical.jsm#1947

I guess it should just ignore empty params

Status: UNCONFIRMED → NEW
Component: Import and Export → ICAL.js Integration
Ever confirmed: true
Summary: ics import error → ics import error for line ORGANIZER;CN=""

(In reply to Magnus Melin [:mkmelin] from comment #1)

I get

Calendar: ParserError: Missing parameter value in 'ORGANIZER;CN=""''ParserError: Missing parameter value in 'ORGANIZER;CN=""'' when calling method: [calIICSService::parseICS] when parsing

The line is ORGANIZER;CN=""
https://searchfox.org/comm-central/rev/acc21a9a5e4c5f10f85b8d96eb95ff92ea7692f7/calendar/base/modules/Ical.jsm#1947

I guess it should just ignore empty params

Thank you for this information.

Ignoring this empty parameter would be nice to have with the next TB update :-)

BTW: The specification gives a "MUST NOT be specified in an iCalendar object that specifies only a time zone definition or that defines calendar components that are not group-scheduled components, but are components only on a single user's calendar." for this parameter but the icalendar.org validator on the same website doesn't throw an error or warning when the parameter is empty in any case:
https://icalendar.org/iCalendar-RFC-5545/3-8-4-3-organizer.html

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: