View Issue Details

IDProjectCategoryView StatusLast Update
0005711SOGo Connectorwith SOGopublic2023-04-25 07:12
Reportercz Assigned Tosebastien  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
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

cz

cz

2023-04-20 12:32

reporter   ~0016857

I'm not sure what you mean by that? A pull request directly at the Thunderbird source? This is something Mozilla has to fix in their code.

sebastien

sebastien

2023-04-22 09:52

administrator   ~0016858

Sorry, I mean updating the README in https://github.com/Alinto/sogo-connector/blob/tb102/README.md with a pull request. Except this, there is nothing we can do on our side.

Sebastien

cz

cz

2023-04-24 08:25

reporter   ~0016863

Thanks for clarifying, I created a pull request:

https://github.com/Alinto/sogo-connector/pull/10

sebastien

sebastien

2023-04-25 07:11

administrator   ~0016871

Thanks for contributing @cz ! I have merged the branch

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
2023-04-20 12:32 cz Note Added: 0016857
2023-04-22 09:52 sebastien Note Added: 0016858
2023-04-23 20:29 sebastien Assigned To => sebastien
2023-04-23 20:29 sebastien Status new => feedback
2023-04-24 08:25 cz Note Added: 0016863
2023-04-24 08:25 cz Status feedback => assigned
2023-04-25 07:11 sebastien Note Added: 0016871
2023-04-25 07:12 sebastien Status assigned => resolved
2023-04-25 07:12 sebastien Resolution open => fixed