[CalendarServer-changes] [3968] CalendarServer/trunk/twistedcaldav/ical.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 10 14:40:42 PDT 2009


Revision: 3968
          http://trac.macosforge.org/projects/calendarserver/changeset/3968
Author:   cdaboo at apple.com
Date:     2009-04-10 14:40:42 -0700 (Fri, 10 Apr 2009)
Log Message:
-----------
Make sure we always get a valid derived instance for STATUS:CANCELLED items that are EXDATE'd.

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

Modified: CalendarServer/trunk/twistedcaldav/ical.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/ical.py	2009-04-10 21:39:21 UTC (rev 3967)
+++ CalendarServer/trunk/twistedcaldav/ical.py	2009-04-10 21:40:42 UTC (rev 3968)
@@ -1009,6 +1009,10 @@
                         if len(exdate.value()) == 0:
                             master.removeProperty(exdate)
                         didCancel = True
+
+                        # We changed the instance set so remove any instance cache
+                        if hasattr(self, "cachedInstances"):
+                            delattr(self, "cachedInstances")
                         break
                     else:
                         # Cannot derive from an existing EXDATE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090410/e62064c1/attachment.html>


More information about the calendarserver-changes mailing list