Open Bug 1689100 Opened 3 years ago Updated 3 years ago

Thunderbird fails to process certain calendar events with error "Component returned failure code: 0x804a0104 [calIDateTime.icalString]"

Categories

(Calendar :: Provider: CalDAV, defect)

defect

Tracking

(Not tracked)

People

(Reporter: rmader, Unassigned)

Details

Note: this is maybe a dup of bug 1436664 but I'd like to start fresh, as this started to happen only very recently en mass in our company.

Description:
In our companies shared CalDAV calendars, hosted by mailbox.org, we recently started to see newly created events often not showing up in Thunderbird. Other tested clients such as DAVx5, iCalendar and the web client of the provider appear to not be affected i.e. show the events. It looks like all of these events were created by iCalendar on MacOS Big Sur, and apparently mainly/only recurring events are affected.

With MacOS Big Sur becoming more and more common, we'd expect the number of users affected by this to grow - thus we'd be very interested to help fixing the issue, assuming it's a Thunderbird issue, including testing builds etc.

Unfortunately we've not been able to completely pin-point the problem yet, but here's what we know so far:

When exporting the events from the web client, we get the following:

Working weekly event:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Open-Xchange//7.10.4-Rev17//EN
BEGIN:VEVENT
DTSTAMP:20210118T195427Z
CLASS:PUBLIC
CREATED:20200707T093819Z
DTEND;VALUE=DATE:20210127
DTSTART;VALUE=DATE:20210126
EXDATE;VALUE=DATE:20210209,20210223
LAST-MODIFIED:20210118T195427Z
RRULE:FREQ=WEEKLY;INTERVAL=1
SEQUENCE:9
SUMMARY:Kathi 8-13h
TRANSP:TRANSPARENT
UID:7151FBF0-A762-4467-9194-581D6F5806D0
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
X-MICROSOFT-CDO-BUSYSTATUS:FREE
END:VEVENT
END:VCALENDAR

Broken weekly event:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Open-Xchange//7.10.4-Rev17//EN
BEGIN:VEVENT
DTSTAMP:20210126T160437Z
CLASS:PUBLIC
CREATED:20210118T194325Z
DTEND;VALUE=DATE:20210128
DTSTART;VALUE=DATE:20210127
LAST-MODIFIED:20210126T160437Z
LOCATION:Liqd
RECURRENCE-ID;VALUE=DATE:20210127
RELATED-TO;RELTYPE=X-CALENDARSERVER-RECURRENCE-SET:9e58b840-f457-44d7-a7d7-
 8c6123f46e4c
SEQUENCE:8
SUMMARY:Kathi 8-13h
TRANSP:TRANSPARENT
UID:28216387-F05E-41F5-BCDB-B41DCEB9DF21
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
X-MICROSOFT-CDO-BUSYSTATUS:FREE
X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:DISABLED
END:VEVENT
END:VCALENDAR

When syncing affected calendars (using TBSync with the CalDAV provider but apparently also using native TB), the console logs a lot of the following errors:

Lightning: 
Exception
​
columnNumber: 0
​
data: null
​
filename: "resource:///modules/calendar/calUtils.jsm"
​
lineNumber: 577
​
location: XPCWrappedNative_NoHelper { QueryInterface: QueryInterface(), filename: Getter, name: Getter, … }
​
message: "Component returned failure code: 0x804a0104 [calIDateTime.icalString]"
​
name: ""
​
result: 2152333572
​
stack: "_instance/<@resource:///modules/calendar/calUtils.jsm:577:7\nset icalComponent@resource:///modules/CalAlarm.jsm:537:38\nset icalString@resource:///modules/CalAlarm.jsm:340:54\n_instance/<@resource:///modules/calendar/calUtils.jsm:577:7\ngetAdditionalDataForItem/<@resource:///modules/CalStorageCalendar.jsm:2093:29\nhandleResultInner@resource:///modules/CalStorageCalendar.jsm:284:21\nhandleResult@resource:///modules/CalStorageCalendar.jsm:278:41\n"
​
<prototype>: ExceptionPrototype

We've collected some more info but I'm not sure if that's helpful yet.

Any ideas what could be the problem here? Thanks :)

Might be worth noting that the broken ics which are synced seemingly always contains more than one VEVENT (probably because it's are reoccurring event with individual events in the sequence having different names). It appears that only the first event is picked up and the rest won't show up at all.

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