[CalendarServer-changes] [13221] CalendarServer/trunk/txdav/caldav/datastore/scheduling/implicit.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 9 09:43:31 PDT 2014


Revision: 13221
          http://trac.calendarserver.org//changeset/13221
Author:   cdaboo at apple.com
Date:     2014-04-09 09:43:31 -0700 (Wed, 09 Apr 2014)
Log Message:
-----------
Make sure that addition of an RRULE forces attendees to NEEDS-ACTION.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/caldav/datastore/scheduling/implicit.py

Modified: CalendarServer/trunk/txdav/caldav/datastore/scheduling/implicit.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/datastore/scheduling/implicit.py	2014-04-09 16:42:49 UTC (rev 13220)
+++ CalendarServer/trunk/txdav/caldav/datastore/scheduling/implicit.py	2014-04-09 16:43:31 UTC (rev 13221)
@@ -793,6 +793,14 @@
                             if newrrule == oldrrule:
                                 recurrence_reschedule = False
 
+                        elif newrrule is not None:
+                            # RRULE added - all instances must have NEEDS-ACTION for attendees
+                            date_changed_rids.update(self.calendar.getComponentInstances())
+
+                        elif oldrrule is not None:
+                            # RRULE removed - just reset the master to NEEDS-ACTION
+                            date_changed_rids.add("")
+
                 # Check for addition of STATUS:CANCELLED
                 if "STATUS" in props:
                     if only_status is None and len(props) == 1:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140409/72eec6d7/attachment.html>


More information about the calendarserver-changes mailing list