Open Bug 1170134 Opened 9 years ago Updated 2 years ago

Lightning sets wrong organizer when creating a meeting on behalf

Categories

(Calendar :: Dialogs, defect)

Lightning 3.3
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: burkhard, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150511103946

Steps to reproduce:

Given: 
User A with calendar a, User B with calendar b, both accessable on a caldav server.

Steps:
User A subscribes to his own calendar "a" using "New Calendar" -> "On the Network"-> "CalDAV" 
User A also subscribes to  calendar "b" of user B using "New Calendar" -> "On the Network"-> "CalDAV" 
Both calendars are subscribed with rw-rights
This affects the Lighning plugin Version 3.3.3, Linux and Windows.

User A  opens a new event fills in title, sets calendar to b and clicks on button "Invite Attendees" and adds calendar a.
Here is already visible that the organizer (first attendee) has been set to user A, which should be user B.
User A saves the event



Actual results:

The event appears correctly in calendar b, but a does not get any invitation from user b. 
Looking into the event you can see that both organizer and attendee has been set to calendar a. 
ICS-Notation: SENT-BY="mailto:b":mailto:a
No invitation can bee sent by the Caldav-Server beacuse there is no reference event in the organizer's calendar.


Expected results:

The organizer should have been set to calendar b, because the meeting has been created on behalf on user B. 
   ICS-Notation: SENT-BY="mailto:a":mailto:b
Component: Untriaged → General
Product: Thunderbird → Calendar
Version: 31 → unspecified
What do you mean with "...and adds calendar a" - user A I guess?

The organizer is always the identity you specified in the calendar properties. Have you made sure to configure the User B address for calendar b?
Component: General → Dialogs
Version: unspecified → Lightning 3.3
Well - yes, I mean the attendee is user A, but in terms of the calendar I will always add attendees be the name of their calendar. 
I also subscribed to both IMAP accounts as well of user A as user B and - yes - I configured the mailbox of user B to calendar b.
Meanwhile I tested the same with an old Thunderbird 3.1.20 and Lightning 1.0b2 and found it working correctly. ICS-Notation: SENT-BY="mailto:a":mailto:b
Can you check whether this is still an issue for you with the latest beta of the upcoming release of TB 38 / Lightning 4.0?
Yes, I just tested this issue against TB 38.0 (beta) and the build-in Lightning 4.0b6 and saw a similar issue. It seems to be different because in this environment the "SENT-BY" option is omitted.
To put the pieces together: 

The logged in User A creates a meeting in subscribed calendar b

Lightning 1.0:
ORGANIZER;RSVP=TRUE;PARTSTAT=ACCEPTED;ROLE=CHAIR;SENT-BY="mailto:a":mailto:b

Lightning 3.3:
ORGANIZER;RSVP=TRUE;PARTSTAT=ACCEPTED;ROLE=CHAIR;SENT-BY="mailto:b":mailto:a

Lightning 4.0
ORGANIZER;RSVP=TRUE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:a
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.