[CalendarServer-changes] [10150] CalendarServer/trunk/twistedcaldav/storebridge.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Dec 10 14:17:43 PST 2012


Revision: 10150
          http://trac.calendarserver.org//changeset/10150
Author:   cdaboo at apple.com
Date:     2012-12-10 14:17:43 -0800 (Mon, 10 Dec 2012)
Log Message:
-----------
Disable per-instance managed attachments for now.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/storebridge.py

Modified: CalendarServer/trunk/twistedcaldav/storebridge.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/storebridge.py	2012-12-10 22:17:10 UTC (rev 10149)
+++ CalendarServer/trunk/twistedcaldav/storebridge.py	2012-12-10 22:17:43 UTC (rev 10150)
@@ -2444,6 +2444,14 @@
                         (caldav_namespace, "valid-rid-parameter",),
                         "The rid parameter in the request-URI contains an invalid value",
                     ))
+
+                if rids:
+                    raise HTTPError(ErrorResponse(
+                        FORBIDDEN,
+                        (caldav_namespace, "valid-rid-parameter",),
+                        "Server does not support per-instance attachments",
+                    ))
+
             return rids
 
         def _getMID():
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20121210/92c34421/attachment.html>


More information about the calendarserver-changes mailing list