[CalendarServer-changes] [7557] CalendarServer/trunk/twistedcaldav/storebridge.py
source_changes at macosforge.org
source_changes at macosforge.org
Sun Jun 5 12:54:29 PDT 2011
Revision: 7557
http://trac.macosforge.org/projects/calendarserver/changeset/7557
Author: cdaboo at apple.com
Date: 2011-06-05 12:54:29 -0700 (Sun, 05 Jun 2011)
Log Message:
-----------
Fix auto-accept resource removal when attendee removed by organizer with a PUT and If-Schedule-Tag-Match.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/storebridge.py
Modified: CalendarServer/trunk/twistedcaldav/storebridge.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/storebridge.py 2011-06-05 19:52:26 UTC (rev 7556)
+++ CalendarServer/trunk/twistedcaldav/storebridge.py 2011-06-05 19:54:29 UTC (rev 7557)
@@ -1843,7 +1843,10 @@
isinbox = self._newStoreObject._calendar.name() == "inbox"
# Do If-Schedule-Tag-Match behavior first
- if not isinbox:
+ # Important: this should only ever be done when storeRemove is called
+ # directly as a result of an HTTP DELETE to ensure the proper If-
+ # header is used in this test.
+ if not isinbox and implicitly:
self.validIfScheduleMatch(request)
scheduler = None
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110605/410df370/attachment.html>
More information about the calendarserver-changes
mailing list