Hi,
When I create an event with, e.g., 3 weekly repeats, and then delete each of the occurrences individually, I end up with an event with EXDATEs for all occurrences:
BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN BEGIN:VEVENT CREATED:20180914T083413Z LAST-MODIFIED:20180914T083447Z DTSTAMP:20180914T083447Z UID:lahl3ejr-g1t5-b0kx-tshu-stm1ohpuqped SUMMARY:repeat RRULE:FREQ=WEEKLY;UNTIL=20180928T000000Z EXDATE;VALUE=DATE:20180928 EXDATE;VALUE=DATE:20180914 EXDATE;VALUE=DATE:20180921 TRANSP:OPAQUE CLASS:PUBLIC DTSTART;VALUE=DATE:20180914 DTEND;VALUE=DATE:20180915 END:VEVENT PRODID:-//Inf-IT//InfCloud 0.13.2rc1//EN END:VCALENDAR
I don't know if this is valid according to the specs, but SabreDAV does not like this:
Sabre\VObject\Recur\NoInstancesException: This recurrence rule does not generate any valid instances
-- Johan
Hi Johan,
thanks for the report (and also for the previous one). Added to my todo list!
Cheers,
JM
On 14 Sep 2018, at 10:58, Johan Vromans jvromans@squirrel.nl wrote:
Hi,
When I create an event with, e.g., 3 weekly repeats, and then delete each of the occurrences individually, I end up with an event with EXDATEs for all occurrences:
BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN BEGIN:VEVENT CREATED:20180914T083413Z LAST-MODIFIED:20180914T083447Z DTSTAMP:20180914T083447Z UID:lahl3ejr-g1t5-b0kx-tshu-stm1ohpuqped SUMMARY:repeat RRULE:FREQ=WEEKLY;UNTIL=20180928T000000Z EXDATE;VALUE=DATE:20180928 EXDATE;VALUE=DATE:20180914 EXDATE;VALUE=DATE:20180921 TRANSP:OPAQUE CLASS:PUBLIC DTSTART;VALUE=DATE:20180914 DTEND;VALUE=DATE:20180915 END:VEVENT PRODID:-//Inf-IT//InfCloud 0.13.2rc1//EN END:VCALENDAR
I don't know if this is valid according to the specs, but SabreDAV does not like this:
Sabre\VObject\Recur\NoInstancesException: This recurrence rule does not generate any valid instances
-- Johan