Only last address of calendar-user-address-set / email is taken into account when determining if invited
Categories
(Calendar :: Provider: CalDAV, defect)
Tracking
(Not tracked)
People
(Reporter: igor.vitorac, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
2.67 KB,
patch
|
Fallen
:
review-
|
Details | Diff | Splinter Review |
Comment 1•13 years ago
|
||
Comment 4•12 years ago
|
||
| Reporter | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Comment 7•11 years ago
|
||
Updated•11 years ago
|
Updated•11 years ago
|
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Comment 13•6 years ago
|
||
Is there something preventing the inclusion of this patch? I'm running into this issue currently and this bug has been open for 7 years.
Comment 14•6 years ago
|
||
The issues in comment 8 need to be resolved before we can include this patch.
Updated•5 years ago
|
Comment 15•5 years ago
|
||
Hello and thanks Igor for the ticket!
Just a short comment to confirm the issue is still open, in my case with the caldav server from Zimbra 9.0.0_GA_3960, and the latest thunderbird client to date, 78.5.0 (under Mac OS and Linux). I just spent several hours trying to debug and understand the behaviour of thunderbird. With a single mail address, everything works as expected. But once an alias (or more) is defined in zimbra, the caldav client from thunderbird is unable to answer correctly to invitations from other people.
The header fields:
Originator: mailto:alias@example.org
Recipient: mailto:alias@example.org
And VCALENDAR entries:
ORGANIZER:mailto:alias@example.org
are wrong, and should be using "mainaddress@example.org" instead. It is the case both ways, when trying to reply to an invitation, but also when trying to send an invitation to another account.
It seems the latest working version of thunderbird + lightning was version 52.2 (June 2017). Some clients here would like to be able to upgrade to a more recent version of Thunderbird, so a fix here (or even a temporary workaround) would be more than welcome.
Testing with other caldav clients were fine so far (for example with Mac OS 11 Big Sur Calendar.app).
Best regards, Olivier
Updated•3 years ago
|
Comment 16•3 years ago
|
||
I just wanted to file this as a bug and saw that it has already been reported - 10 years ago! And that it is still unfixed.
I also saw a related (maybe identical) bug 1587736.
I have exactly this problem in Thunderbird 102.4.2.
My main email address is, let’s say, mail@joesmith.com. I also have an alias alias@joesmith.com. In Thunderbird, I associate all subscribed calendars with the address mail@joesmith.com in the calendar properties.
When I create a calendar event and click the button “Invite attendees”, the first line of the calendar overview is prefilled with alias@joesmith.com (most probably the last address in the “calendar-user-address-set”).
This is annoying/strange in a number of ways:
- This forces me, every time, to manually change the prefilled address into the correct one (mail@joesmith.com in this case) to ensure it goes out from the correct sender.
- I suspect that this is responsible for a large number of “Party crashing?” messages I get when trying to accept invites sent to me (mail@joesmith.com).
- I was not even aware that a “calendar-user-address-set” exists and that it reveals (potentially all) my aliases. I have never used my aliases in the configuration of any accounts/calendars in Thunderbird. So for the unsuspecting user this might even be a privacy leak.
I have had this problem for around three years. I always thought that it is a bug of my email provider (Kolab Now). But after changing to Mailbox.org, the problem continues.
Many business users have aliases. This bug, even though not catastrophic, makes the use of calendar invites a real pain. I would very appreciate if this was given a higher priority.
Comment 17•1 year ago
|
||
I have investigated this bug and have some updates in the related thread: https://bugzilla.mozilla.org/show_bug.cgi?id=1766796#c3
Comment 18•1 year ago
|
||
Hey, someone is looking into this! Thank you so much! I hope your code changes will be integrated asap.
Comment 19•4 months ago
•
|
||
the problem with receiving invitations should be solved with bug 1987654
i have linked the backported files for current stable 145.0 there in the comments if you want to test.
Comment 20•4 months ago
•
|
||
the part about creating events is tracked with this (even older) bug 603320
so I think this bug can be closed as duplicate? The part about the "last address" was also fixed long ago, it now takes the first address reported by the caldav server.
Comment 21•2 months ago
|
||
Confirmed reproduction in Thunderbird 148.0 with Nextcloud CalDAV
This bug is actively causing a real-world workflow failure in our environment. Here is a precise reproduction case.
Environment
- Thunderbird: 148.0 64-bit (Windows 10)
- CalDAV server: Nextcloud 32.0.6.1
- Authentication: LDAP (user_ldap)
Profile setup
A single Thunderbird profile is used by a secretary managing calendars for multiple officials. Each official has a fully configured IMAP account and a dedicated CalDAV calendar under their own Nextcloud user:
| Account | CalDAV URL | |
|---|---|---|
| Official 1 (Mayor) | mayor@bbbb.cz | /calendars/urad818/personal/ |
| Official 2 (Deputy Mayor) | deputymayor@bbbb.cz | /calendars/urad1417/personal/ |
Each calendar has the E-mail field in calendar properties set to the correct matching address (mayor@bbbb.cz and deputymayor@bbbb.cz respectively).
Reproduction steps
- Organizer creates event, invites both officials.
- Organizer sends separate individual emails to each attendee (unique Message-ID per email, single ATTENDEE per ICS).
- Secretary opens Thunderbird (single profile).
- Secretary accepts invitation for Official 1 (mayor@bbbb.cz) → iMIP bar works correctly → CalDAV PUT performed to
/calendars/urad818/personal/[uid].ics. - Secretary opens invitation email for Official 2 (deputymayor@bbbb.cz).
Result
iMIP bar shows:
"This message contains an event that has already been processed."
No CalDAV PUT is performed for /calendars/urad1417/personal/. The event is never added to Official 2's calendar.
Server logs confirming the issue
# Official 1 accepted correctly:
PUT /remote.php/dav/calendars/urad818/personal/e99d5bb3-af75-4707-a489-7472985cf429.ics
user: urad818
# Official 2 – only REPORT sync, no PUT ever follows:
REPORT /remote.php/dav/calendars/urad1417/personal/
user: urad1417
ICS content of invitation for Official 2
UID:e99d5bb3-af75-4707-a489-7472985cf429
METHOD:REQUEST
ATTENDEE;RSVP=TRUE;CN=Name Surname;PARTSTAT=NEEDS-ACTION:mailto:deputymayor@bbbb.cz
ORGANIZER:mailto:name.surname@ccc.bbbb.cz
Analysis
Thunderbird evaluates whether an invitation has been processed by checking the event UID globally across all calendars in the profile, without considering which specific calendar account/email identity the invitation is addressed to.
When calendar-user-address-set contains multiple addresses (one per account), Thunderbird apparently only considers the last one (as described in this bug) or uses a global UID lookup that ignores the target ATTENDEE identity entirely.
Tested about:config settings (none resolved the issue)
calendar.itip.newInvitationDisplay = truecalendar.itip.separateInvitationPerAttendee = truecalendar.itip.separateInvitationButtons = true
Impact
This bug makes it impossible for a secretary to manage calendar invitations for multiple principals within a single Thunderbird profile — a very common real-world use case in organizations where one person manages schedules for several executives.
Expected behavior
Thunderbird should evaluate iMIP invitation status per calendar account identity by matching the invitation's ATTENDEE address against the email identity configured for each individual calendar. A UID processed for one account should not suppress the iMIP bar for a different account with a different email identity.
Description
•