After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642951 - Appointments have incorrect organizer information
Appointments have incorrect organizer information
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: Calendar
0.32.x
Other Linux
: Normal normal
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-22 10:04 UTC by sean finney
Modified: 2011-02-24 07:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (1.75 KB, patch)
2011-02-23 14:51 UTC, sean finney
needs-work Details | Review

Description sean finney 2011-02-22 10:04:13 UTC
To reproduce:

you ("sender") send an appointment to someone else (recipient) in the organization

What they see:

From: sender
Reply-to: sender
"Recipient" would like you to attend this appointment

i.e., they see themselves as the organizer.

If the recipient confirms with a response, their confirmation goes to themselves.  I don't think the original calendar entry is ever updated (i.e. the organizer/sender doesn't see a response), and the recipient only sees the incorrect appointment in their calendar.
Comment 1 sean finney 2011-02-23 14:51:35 UTC
Created attachment 181700 [details] [review]
Proposed fix

I think this should do the right thing, using the existing "is reply?" logic but checking based on the ical method type.  

The function in question is also called from two other places (in e-cal-backend-mapi.c) but with this patch, at *least* the event shows in the mailbox with the correct organizer, and the response goes to the correct organizer.

However, i'm not sure that the resulting object shows correctly in the calendar in all cases... logging into OWA i can see the event in my calendar, but if i log into evolution with a nuked cache, i see the day in italics in the calendar widget pane, but no event.
Comment 2 Milan Crha 2011-02-24 07:44:21 UTC
Thanks for a bug report and patch. The patch doesn't work correctly for cancellations, basically because they are not replies too, thus you cannot expect everything but request is a reply. I changed this and committed to sources as:

Created commit e964eb6 in ema master (2.91.91+)