Closed Bug 451529 Opened 17 years ago Closed 17 years ago

Deleting invitation copy sends out CANCEL to all attendees

Categories

(Calendar :: E-mail based Scheduling (iTIP/iMIP), defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dbo, Assigned: dbo)

Details

Attachments

(1 file)

1. Accept an iTIP invitation. 2. Delete the invitation copy form calendar. 3. CANCEL is sent out to all attendees.
Flags: blocking-calendar0.9+
Attached patch fix - v1Splinter Review
This patch fixes the bug: * sends out a REPLY/DECLINED in case the user deletes the invitation copy moreover: * makes X-MOZ-SEND-INVITATION to be specific to sending out REQUEST messages (for organizer only) and transport-agnostic * removes some redundant checks * fixes invitation dialog's organizer line in case no common name is available * fixes invitation dialog to exclude invitation to self (organizer in attendees list)
Assignee: nobody → daniel.boelzle
Status: NEW → ASSIGNED
Attachment #334855 - Flags: review?(philipp)
Isn't that on purpose? See Bug 429938.
Different scope: If the organizer deletes the event, a CANCEL should be sent out to all attendees (bug 429938). If an attendee deletes her invitations copy, no CANCEL must be sent to all attendees(, but a REPLY/DECLINED is sensible to be sent to the organizer).
Whiteboard: [patch in hand] [needs review]
Comment on attachment 334855 [details] [diff] [review] fix - v1 r=philipp
Attachment #334855 - Flags: review?(philipp) → review+
Checked in on HEAD and MOZILLA_1_8_BRANCH => FIXED.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [patch in hand] [needs review]
Target Milestone: --- → 0.9
It seems it doesn't work on a caldav calendar
Hubert, could you please elaborate what doesn't work?
Hubert, please ensure that you are using a nightly build that contains the changes (20080822xx or newer). Also see Bug 451696.
With the caldav calendar a CANCEL is sent out to all attendees when i delete the event... 1. Accept an iTIP invitation. 2. Delete the invitation copy form calendar. 3. CANCEL is sent out to all attendees.
aItem.calendar.isInvitation(aItem) return false in chrome://calendar/content/calendar-item-editing.js line 483 because aItem.getProperty("organizerId") is null
I checked this issue with lightning build 2008082518 and the CANCEL is sent only to the organizer -> WFM.
(In reply to comment #10) > because aItem.getProperty("organizerId") is null Which indicates that your caldav server either does not support scheduling or it doesn't provide a calendar-user-address.
forget my comments, it was a bug in my caldav server
Checked in lightning 2008082620 -> VERIFIED.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: