Bug 306755 - Unwanted cancellation mail sent to participants when deleting event with an empty organizer field
Summary: Unwanted cancellation mail sent to participants when deleting event with an e...
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: invitations (show other bugs)
Version: 4.8.x
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Sergio Martins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 17:46 UTC by mslijkhuis
Modified: 2013-10-31 02:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mslijkhuis 2012-09-13 17:46:54 UTC
When I create a new Google Calendar event without participants using the standard Android calendar, and I sync korganizer with Google Calendar through Akonadi, the event's organizer field is empty and my email address is listed as an participant. When I delete this event and click "Do not send" when asked about informing the attendees, the email is sent anyway.

When I open the edit dialog and click "Ok" without making any changes my name appears in the Organizer field. The issue mentioned above does not occur in this situation. I believe it may be a problem with the organizer field being empty and the list of participants not.

Reproducible: Always

Steps to Reproduce:
1. Add a new event to without participants using the standard Android calendar
2. Sync Android calendar with Google Calendar
3. Sync Korganizer with Google Calendar through Akonadi
4. Delete the event in Korganizer
5. Click "Do not send" when asked about informing the attendees
Actual Results:  
The email is sent to the attendee anyway.

Expected Results:  
No email should have been sent.
Comment 1 Sergio Martins 2013-10-31 01:57:50 UTC
Git commit 1a8fa1ac755ecd71991116ffffa3362d25126e85 by Sergio Martins.
Committed on 31/10/2013 at 01:36.
Pushed by smartins into branch 'KDE/4.11'.

Don't send CANCEL to attendees  when deleting an event we didn't organize.

When deleting something that's not ours, only a REPLY with
PartStat=Declined must be sent, and to the organizer only.

Due to a bug, CANCEL was being sent to everybody, as if we were
the organizer.

Unit-test will go in master.

Bug 318394 should be similar, but for modification instead of deletion.
Related: bug 217211, bug 318394
FIXED-IN: 4.11.3

M  +12   -7    akonadi/calendar/incidencechanger.cpp

http://commits.kde.org/kdepimlibs/1a8fa1ac755ecd71991116ffffa3362d25126e85
Comment 2 Sergio Martins 2013-10-31 02:02:50 UTC
Git commit 32b4e54e6b7a3ed90af0efbbabca84e191d12b86 by Sergio Martins.
Committed on 31/10/2013 at 02:00.
Pushed by smartins into branch 'master'.

Unit-test that we don't send two e-mails when deleting an event.

This tests the last commit, where a CANCEL and a REPLY were being
sent.
Related: bug 217211

M  +32   -7    akonadi/calendar/tests/itiphandlertest.cpp

http://commits.kde.org/kdepimlibs/32b4e54e6b7a3ed90af0efbbabca84e191d12b86