[CalendarServer-changes] [8016] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 25 10:58:23 PDT 2011


Revision: 8016
          http://trac.macosforge.org/projects/calendarserver/changeset/8016
Author:   cdaboo at apple.com
Date:     2011-08-25 10:58:22 -0700 (Thu, 25 Aug 2011)
Log Message:
-----------
Handle a certain type of broken REQUEST-STATUS value.

Modified Paths:
--------------
    CalendarServer/trunk/support/build.sh
    CalendarServer/trunk/twistedcaldav/scheduling/test/test_itip.py

Modified: CalendarServer/trunk/support/build.sh
===================================================================
--- CalendarServer/trunk/support/build.sh	2011-08-25 14:32:53 UTC (rev 8015)
+++ CalendarServer/trunk/support/build.sh	2011-08-25 17:58:22 UTC (rev 8016)
@@ -718,7 +718,7 @@
     "${pypi}/p/python-ldap/${ld}.tar.gz";
 
   # XXX actually PyCalendar should be imported in-place.
-  py_dependency -fe -i "src" -r 171 \
+  py_dependency -fe -i "src" -r 172 \
     "pycalendar" "pycalendar" "pycalendar" \
     "http://svn.mulberrymail.com/repos/PyCalendar/branches/server";
 

Modified: CalendarServer/trunk/twistedcaldav/scheduling/test/test_itip.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/test/test_itip.py	2011-08-25 14:32:53 UTC (rev 8015)
+++ CalendarServer/trunk/twistedcaldav/scheduling/test/test_itip.py	2011-08-25 17:58:22 UTC (rev 8016)
@@ -817,6 +817,48 @@
 """,
                 True, "mailto:user1 at example.com", (("", True, False),),
             ),
+            (
+                "#6.3 Bad REQUEST-STATUS",
+                """BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
+BEGIN:VEVENT
+UID:12345-67890
+DTSTART:20080601T120000Z
+DTEND:20080601T130000Z
+ORGANIZER;CN="User 01":mailto:user1 at example.com
+ATTENDEE:mailto:user1 at example.com
+ATTENDEE:mailto:user2 at example.com
+END:VEVENT
+END:VCALENDAR
+""",
+                """BEGIN:VCALENDAR
+METHOD:REPLY
+VERSION:2.0
+PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
+BEGIN:VEVENT
+UID:12345-67890
+ORGANIZER;CN="User 01":mailto:user1 at example.com
+ATTENDEE;PARTSTAT=ACCEPTED:mailto:user1 at example.com
+REQUEST-STATUS:2.0\;Success
+END:VEVENT
+END:VCALENDAR
+""",
+                """BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
+BEGIN:VEVENT
+UID:12345-67890
+DTSTART:20080601T120000Z
+DTEND:20080601T130000Z
+ATTENDEE;PARTSTAT=ACCEPTED;SCHEDULE-STATUS=2.0:mailto:user1 at example.com
+ATTENDEE:mailto:user2 at example.com
+ORGANIZER;CN=User 01:mailto:user1 at example.com
+END:VEVENT
+END:VCALENDAR
+""",
+                True, "mailto:user1 at example.com", (("", True, False),),
+            ),
         )
 
         for description, calendar_txt, itipmsg_txt, result, success, attendee, rids in data:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110825/2323a411/attachment.html>


More information about the calendarserver-changes mailing list