Closed Bug 1847493 Opened 2 years ago Closed 2 years ago

Thunderbird 115 doesn't send calendar invites

Categories

(Calendar :: General, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1847658
115 Branch

People

(Reporter: mozilla, Unassigned)

References

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

I created a calendar entry with an invite for attendees. The calendar is a Nextcloud CalDAV calendar and the attendees are contacts from a LDAP address book with a Nextcloud calendar on the same Nextcloud instance.

I am using Thunderbird 115.1.0-8.1 on openSUSE Tumbleweed. The issue couldn't be reproduced with 102.

Actual results:

Instead of sending out an invite to the invited attendees I only receive a "Accept" confirmation from my own mail. No invites can be found in the sent box.
During the invite, the attendee list is buggy and shows double entries for the attendees in the busy search. Sometimes the first entry, which should be me, is switched with one of the invited attendees.

Expected results:

An invite is sent out to the invited attendees. The busy search only shows one entry for an invited attendee and keeps myself as the first attendee in the list. I don't receive an "Accept" mail from myself.

OS: Unspecified → All
Hardware: Unspecified → All

We were able to reproduce this issue with the Thunderbird 115 installation on Windows 10 as well.

We can confirm the same issue on Win 11.

(In reply to Stefan Weiberg from comment #0)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

I created a calendar entry with an invite for attendees. The calendar is a Nextcloud CalDAV calendar and the attendees are contacts from a LDAP address book with a Nextcloud calendar on the same Nextcloud instance.

I am using Thunderbird 115.1.0-8.1 on openSUSE Tumbleweed. The issue couldn't be reproduced with 102.

Actual results:

Instead of sending out an invite to the invited attendees I only receive a "Accept" confirmation from my own mail. No invites can be found in the sent box.
During the invite, the attendee list is buggy and shows double entries for the attendees in the busy search. Sometimes the first entry, which should be me, is switched with one of the invited attendees.

Expected results:

An invite is sent out to the invited attendees. The busy search only shows one entry for an invited attendee and keeps myself as the first attendee in the list. I don't receive an "Accept" mail from myself.

Same here, using Win 11 with contacts and calendar in thunderbird, without using external services.

Same here (both, calendar and contacts on nextcloud)
Ubuntu 20.04.6 LTS 115.1.0 (64-bit), ubuntu-snap-build - 1.0

  • on "Invite Attendees" when adding 1 email, it adds 4 rows, two of them are empty and two contain the email just added
  • no invitation emails are sent

In the Browser Console ([CTRL]+[SHIFT]+[J]) i see the following:

  • Warning: Calendar: No unique email address for lookup!
  • Error: Calendar: Could not find definition for W. Europe Standard Time

I can reproduce the same exact bug with thunderbird 115.1.0-150200.8.127.1 (opensuse Leap 15.3) and Nextcloud 25.

On TB console, i have this warning :
Calendar: No unique email address for lookup! calItipUtils.jsm:1115

I can reproduce this bug with Thunderbird 115.1.0 (PopOS 22.04)
I receive the following warning as well:
Calendar: No unique email address for lookup! 5 calItipUtils.jsm:1115

confirmed with 115.1.0 on arch linux as well.

Confirmed with 115.1.1 on Windows 11.

The bug happens only when an event is created directly in calendar but works fine if the event is created in address book as is read in:

https://connect.mozilla.org/t5/discussions/calendar-in-new-thunderbird-115-0-1-not-working/m-p/35788

I can confirm with 115.1.1 in Archlinux, the issue started with the 115 release. I am using a Radicale CalDAV.
I only have "Calendar: No unique email address for lookup!" in the log.
How can we help debugging ?
Thanks

Same Problem For me with 115.1.2 on Windows 10.

  • Instead of inviting the external email addresses it confirms that I accepted my own invite on my own email
  • The trick with sending from contact book worked for me too, it seems like that it does not add myself to the invite then and does not get stuck in that loop.
  • If I cancel the invite, the cancelation email is sent to all attendees

I can also confirm this issue on Thunderbird 115.2.0 with a NextCloud 27.0.1 CalDAV as the backing calendar.

Furthermore, the issue seems to stem from this snipper as mentioned previously:

1100 getAttendeesBySender(aAttendees, aEmailAddress) {
1101    let attendees = [];
1102    // we extract the email address to make it work also for a raw header value
1103    let compFields = Cc["@mozilla.org/messengercompose/composefields;1"].createInstance(
1104      Ci.nsIMsgCompFields
1105    );
1106    let addresses = compFields.splitRecipients(aEmailAddress, true);
1107    if (addresses.length == 1) {
1108      let searchFor = lazy.cal.email.prependMailTo(addresses[0]);
1109      aAttendees.forEach(aAttendee => {
1110        if ([aAttendee.id, aAttendee.getProperty("SENT-BY")].includes(searchFor)) {
1111          attendees.push(aAttendee);
1112        }
1113      });
1114    } else {
1115      lazy.cal.WARN("No unique email address for lookup!");
1116    }
1117    return attendees;
1118  },

On a whim, and based on line 1107 as listed above, I tried creating an event with only one participant, excluding my own email from the event, and then the invitation was sent as expected. Should line 1107 be addresses.length >= 1 or something?

Same problem for me on OpenSUSE LEAP 15.4 (x64).

Duplicate of this bug: 1842699

Expanding on comments #8 and #11, it seems that this issue is triggered whenever the organizer email is in the attendee list (regardless of the number of attendees). When creating a new calendar invite through the address book, the organizer is not added to the attendee list and the bug is therefore not triggered.

Therefore, the current workarounds are:

  1. Create the calendar invite through the address book by selecting the meeting attendees and clicking the 'event' button.
  2. Create the calendar invite through the calendar, but before adding any attendees, remove the organizer email from the event (i.e. delete the top entry in the attendee list).

After the new calendar invite has been created using either of these methods, meeting attendees are also properly notified on changes/deletions.

The workaround #2 throws (sometimes ?) another bug : attendee is added twice in the list.

See here : https://cloud.agglo-montbeliard.fr/index.php/s/grHtJoryFDk2Rk8

I've added user Formation-6 once, on the first line, it is added twice on line #1 & line #2
Then I've added Formation-2 once, on the third line, it is added twice on line #3 & line #5, leaving a blank line #4

Same situation with W10Pro + Thunderbird 115.2.0(x64) and W11Home Thunderbird 115.2.0(x64)

Calendar do not send invites anybody except eventmaker. In log on mailserver only one recod - Thunderbird put mail with invite for eventmaker and nothing for the rest of the event participants. In thunderbird I get message about timeout to SMTP server.

Thunderbird 115.2.2 Win10
Same situation, Calendar do not send invites anybody except eventmaker.
in the console: Calendar: No unique email address for lookup! 4 calItipUtils.jsm:1115

after a few minutes thunberbird wrote in the console:
error { target: TCPSocket, isTrusted: true, name: "NetworkTimeoutError", message: "Network", errorCode: 2152398862, srcElement: TCPSocket, currentTarget: TCPSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
SmtpClient.jsm:434:17

Mail in thunderbird is normally sent and received

Component: Untriaged → General
Product: Thunderbird → Calendar
Target Milestone: --- → 115 Branch

Similar issue with sending invitation from calendar
Upgraded from 102 to 115 two weeks ago
I only get the invitation, no recipient got it.
Win 11
Mail server is OVH (no caldav).
Got an error message 30sec - 1 min after sending invitation (attendees adresses in my local adress book)
(translated from french)
An error when sending the e_mail : SMTP server error. Server replied : service not available : closing transmission channel.

I had to downgrade to 102 to recover a working situation.

Same caldav issue here.
Also when adding attendees, they sometimes get added twice in the list.

We're not able to send out any meeting invitations at the moment, which is quite crucial.

(In reply to dc_v from comment #21)

Same caldav issue here.
Also when adding attendees, they sometimes get added twice in the list.

We're not able to send out any meeting invitations at the moment, which is quite crucial.

Not only caldav based agendas, seems to me more related to invitation mail content or generation that fails.
roll back to 102 is the only stable option

Same issue here, If i remove myself from the attendees it seems to send most of the time , following debug info with me still as an attendee...

NS_NOINTERFACE: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface] 12 network-events-content.js:68
httpFailedOpeningRequest resource://devtools/server/actors/resources/network-events-content.js:68
createInvitationOverlay resource:///modules/calendar/utils/calInvitationUtils.jsm:293
convertToHTML resource:///modules/CalMimeConverter.jsm:61

This bug is unassigned and unconfirmed for two months now. I, my team and some of my customers were forced to downgrade to an older Thunderbird version and make sure that it does not update by accident. And no one seems to care? How come?

Still an issue in the latest 115.2.3 release

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1847658
Resolution: --- → DUPLICATE
Keywords: regression

Unfortunately, I am not allowed to comment on bug 1847658. The fix for the issue got released to the 119 Beta, does this mean it will also be part of 115.4 as the ESR version? As this is a critical bug, I think it is quite important to receive a fix in the ESR version as soon as possible.

Flags: needinfo?(vseerror)
Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(daniel)

Yes, most likely in 115.4 or a 115.3.x release before that.

Flags: needinfo?(vseerror)
Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(daniel)

The issue of double entries still persists within 115.3.2. But it only happens when clicking on a searched contact in the search result list. Selecting a contact via hitting "Enter" shows the correct lines. I will open a separate bug for this issue.

See Also: → 1858629
You need to log in before you can comment on or make changes to this bug.