[CalendarServer-changes] [5882] CalendarServer/branches/users/wsanchez/deployment-pre-partition/ twistedcaldav/schedule.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jul 13 11:38:06 PDT 2010
Revision: 5882
http://trac.macosforge.org/projects/calendarserver/changeset/5882
Author: cdaboo at apple.com
Date: 2010-07-13 11:38:06 -0700 (Tue, 13 Jul 2010)
Log Message:
-----------
Make sure zero limit in config means "no limit". Return 5.1 code not 5.3.
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/schedule.py
Modified: CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/schedule.py
===================================================================
--- CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/schedule.py 2010-07-13 18:34:58 UTC (rev 5881)
+++ CalendarServer/branches/users/wsanchez/deployment-pre-partition/twistedcaldav/schedule.py 2010-07-13 18:38:06 UTC (rev 5882)
@@ -492,9 +492,9 @@
if freebusy:
# Check for freebusy limit
- if ctr >= config.LimitFreeBusyAttendees:
+ if config.LimitFreeBusyAttendees and ctr >= config.LimitFreeBusyAttendees:
err = HTTPError(ErrorResponse(responsecode.NOT_FOUND, (caldav_namespace, "recipient-limit")))
- responses.add(recipient, Failure(exc_value=err), reqstatus="5.3;No scheduling support for user")
+ responses.add(recipient, Failure(exc_value=err), reqstatus="5.1;Service Unavailable")
recipientsState["BAD"] += 1
continue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100713/79feeea4/attachment.html>
More information about the calendarserver-changes
mailing list