[CalendarServer-changes] [5876] CalendarServer/trunk/twistedcaldav/scheduling/scheduler.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jul 13 09:54:57 PDT 2010


Revision: 5876
          http://trac.macosforge.org/projects/calendarserver/changeset/5876
Author:   cdaboo at apple.com
Date:     2010-07-13 09:54:57 -0700 (Tue, 13 Jul 2010)
Log Message:
-----------
Return 5.1 error for freebusy limited attendees.

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

Modified: CalendarServer/trunk/twistedcaldav/scheduling/scheduler.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/scheduler.py	2010-07-13 16:50:36 UTC (rev 5875)
+++ CalendarServer/trunk/twistedcaldav/scheduling/scheduler.py	2010-07-13 16:54:57 UTC (rev 5876)
@@ -399,7 +399,7 @@
             # Check for freebusy limit
             if freebusy and ctr >= config.Scheduling.Options.LimitFreeBusyAttendees:
                 err = HTTPError(ErrorResponse(responsecode.NOT_FOUND, (caldav_namespace, "recipient-limit")))
-                responses.add(recipient.cuaddr, Failure(exc_value=err), reqstatus=iTIPRequestStatus.NO_USER_SUPPORT)
+                responses.add(recipient.cuaddr, Failure(exc_value=err), reqstatus=iTIPRequestStatus.SERVICE_UNAVAILABLE)
                 continue
                 
             if self.fakeTheResult:
@@ -641,7 +641,7 @@
             if self.calendar.propertyValue("METHOD") in ("COUNTER", "DECLINECOUNTER"):
                 return
             
-            # Anything else is not allowed. However, for compatIbility we will optionally 
+            # Anything else is not allowed. However, for compatibility we will optionally 
             # return a success response for all attendees.
             if config.Scheduling.CalDAV.OldDraftCompatibility:
                 self.fakeTheResult = True
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100713/88272206/attachment.html>


More information about the calendarserver-changes mailing list