[CalendarServer-changes] [3747] CalendarServer/trunk/twistedcaldav/scheduling

source_changes at macosforge.org source_changes at macosforge.org
Wed Feb 25 10:45:35 PST 2009


Revision: 3747
          http://trac.macosforge.org/projects/calendarserver/changeset/3747
Author:   sagen at apple.com
Date:     2009-02-25 10:45:33 -0800 (Wed, 25 Feb 2009)
Log Message:
-----------
Fixes broken itip test

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/scheduling/itip.py
    CalendarServer/trunk/twistedcaldav/scheduling/test/test_itip.py

Modified: CalendarServer/trunk/twistedcaldav/scheduling/itip.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/itip.py	2009-02-25 18:12:30 UTC (rev 3746)
+++ CalendarServer/trunk/twistedcaldav/scheduling/itip.py	2009-02-25 18:45:33 UTC (rev 3747)
@@ -353,7 +353,7 @@
             partstat_changed = (oldpartstat != partstat)
             
             if partstat == "NEEDS-ACTION":
-                existing_attendee.params()["RSVP"] = [True]
+                existing_attendee.params()["RSVP"] = ["TRUE"]
             else:
                 try:
                     del existing_attendee.params()["RSVP"]

Modified: CalendarServer/trunk/twistedcaldav/scheduling/test/test_itip.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/scheduling/test/test_itip.py	2009-02-25 18:12:30 UTC (rev 3746)
+++ CalendarServer/trunk/twistedcaldav/scheduling/test/test_itip.py	2009-02-25 18:45:33 UTC (rev 3747)
@@ -142,7 +142,7 @@
 UID:12345-67890
 DTSTART:20080601T120000Z
 DTEND:20080601T130000Z
-ATTENDEE;PARTSTAT=NEEDS-ACTION;SCHEDULE-STATUS="2.0;Success":mailto:user1 at example.com
+ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;SCHEDULE-STATUS="2.0;Success":mailto:user1 at example.com
 ATTENDEE:mailto:user2 at example.com
 ORGANIZER;CN=User 01:mailto:user1 at example.com
 END:VEVENT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090225/f4810fe4/attachment.html>


More information about the calendarserver-changes mailing list