[Cosmo-dev] This and Future issues

Randy Letness randy at osafoundation.org
Wed Aug 8 13:43:05 PDT 2007


Just so I 'm on the same page,

Recurring event change scenarios:

1. User clicks on the first event in the series and changes something 
and clicks save.  The options should be "All Items" and "This Item".  
"All Future Items" should be grayed out because this is the first item 
in the series.  If the user selects "This Item", a modification is 
created.  If the user selects "All Items" then the master item is 
updated and the server handles any startDate changes by adjusting 
recurrenceIds of all modifications.

2. User clicks on any other occurrence or modification, changes 
something and clicks save.  The options are "All Items", "This Item" and 
"All Future Items".  If "All Future Items" is selected the following 
needs to happen:

- master event rrule until needs to be set to recurrenceId of previous 
occurrence
- new master event based on old master created with start date of 
recurrenceId of selected occurrence + changes of selected occurrence
- for each modification with a recurrenceId >= new master event start 
date,  delete and add new modification to new master event adjusting 
recurrenceIds if necessary
- add new master and modifications to all collections that the old 
master belongs to

Does this sound right?

-Randy


More information about the cosmo-dev mailing list