View Issue Details

IDProjectCategoryView StatusLast Update
0005711SOGo Connectorwith SOGopublic2023-03-23 18:57
Reportercz Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformindependent 
Summary0005711: "empty" days in Thunderbird due to broken events (ACL hooks)
Description

This bug was previously reported by @cnaumer in https://bugs.sogo.nu/view.php?id=5635#c16426 and https://bugzilla.mozilla.org/show_bug.cgi?id=1741801, but it should be a stand-alone bug. While using the latest version of the connector (https://github.com/Alinto/sogo-connector/tree/tb102) in connection with Thunderbird (tested with 102.7.0 and 102.8.1 but other versions are also affected) certain events can result in whole days not showing any events at all, which can be mitigated by disabling the calendar with the broken event or disabling/removing the connector addon from Thunderbird.

Errors:

Uncaught TypeError: cal.itip.getInvitedAttendee(...) is null
set item chrome://calendar/content/today-pane-agenda.js:595
addItems chrome://calendar/content/today-pane-agenda.js:106
onAddItem chrome://calendar/content/widgets/calendar-filter.js:1293
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
notifyCalendarObservers resource:///modules/CalCalendarManager.jsm:644
onAddItem resource:///modules/CalCalendarManager.jsm:685
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
notify resource:///modules/calendar/utils/calDataUtils.jsm:65
onAddItem resource:///components/calCachedCalendar.js:83
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
notify resource:///modules/calendar/utils/calDataUtils.jsm:65
adoptItem resource:///modules/CalStorageCalendar.jsm:240
today-pane-agenda.js:595:46
set item chrome://calendar/content/today-pane-agenda.js:595
addItems chrome://calendar/content/today-pane-agenda.js:106
onAddItem chrome://calendar/content/widgets/calendar-filter.js:1293
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
notifyCalendarObservers resource:///modules/CalCalendarManager.jsm:644
onAddItem resource:///modules/CalCalendarManager.jsm:685
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
notify resource:///modules/calendar/utils/calDataUtils.jsm:65
onAddItem resource:///components/calCachedCalendar.js:83
notify resource:///modules/calendar/utils/calDataUtils.jsm:38
notify resource:///modules/calendar/utils/calDataUtils.jsm:65
adoptItem resource:///modules/CalStorageCalendar.jsm:240
AsyncFunctionNext self-hosted:632
[Exception... "[JavaScript Error: "cal.itip.getInvitedAttendee(...) is null" {file: "chrome://calendar/content/today-pane-agenda.js" line: 595}]'[JavaScript Error: "cal.itip.getInvitedAttendee(...) is null" {file: "chrome://calendar/content/today-pane-agenda.js" line: 595}]' when calling method: [calIObserver::onAddItem]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource:///modules/calendar/utils/calDataUtils.jsm :: notify :: line 38" data: yes]

TagsNo tags attached.

Activities

cz

cz

2023-03-23 09:13

reporter   ~0016756

According to the Mozilla bug tracker, someone found a fix for this: https://bugzilla.mozilla.org/show_bug.cgi?id=1741801#c3 I tried this fix and it works!

One just has to edit the necessary files in omni.ja (while Thunderbird is closed), re-start Thunderbird and the issue is gone. Is there any way to "hot plug" the file while Thunderbird is running?

sebastien

sebastien

2023-03-23 18:57

administrator   ~0016758

Hi @cz, thanks for the tips and reporting the issue.
Would it be possible to do a pull request on Github ?

Sebastien

Issue History

Date Modified Username Field Change
2023-03-14 15:47 cz New Issue
2023-03-23 09:13 cz Note Added: 0016756
2023-03-23 18:57 sebastien Note Added: 0016758