[CalendarServer-changes] [5110] CalendarServer/trunk/twistedcaldav/scheduling/implicit.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Feb 12 21:26:46 PST 2010


Revision: 5110
          http://trac.macosforge.org/projects/calendarserver/changeset/5110
Author:   cdaboo at apple.com
Date:     2010-02-12 21:26:43 -0800 (Fri, 12 Feb 2010)
Log Message:
-----------
Don't add SCHEDULE-STATUS when SCHEDULE-AGENT=NONE.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/scheduling/implicit.py

Modified: CalendarServer/trunk/twistedcaldav/scheduling/implicit.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/implicit.py	2010-02-13 03:41:04 UTC (rev 5109)
+++ CalendarServer/trunk/twistedcaldav/scheduling/implicit.py	2010-02-13 05:26:43 UTC (rev 5110)
@@ -826,11 +826,12 @@
                 # We will allow the attendee to do anything in this case, but we will mark the organizer
                 # with an schedule-status error
                 log.debug("Attendee '%s' is allowed to update UID: '%s' with invalid organizer '%s'" % (self.attendee, self.uid, self.organizer))
-                self.calendar.setParameterToValueForPropertyWithValue(
-                    "SCHEDULE-STATUS",
-                    iTIPRequestStatus.NO_USER_SUPPORT_CODE,
-                    "ORGANIZER",
-                    self.organizer)
+                if doScheduling:
+                    self.calendar.setParameterToValueForPropertyWithValue(
+                        "SCHEDULE-STATUS",
+                        iTIPRequestStatus.NO_USER_SUPPORT_CODE,
+                        "ORGANIZER",
+                        self.organizer)
                 returnValue(None)
 
             else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100212/754ada29/attachment-0001.html>


More information about the calendarserver-changes mailing list