Possible validation error for COUNT and UNTIL in calendar objects synced from OwnCloud 10.x
For further reference see https://github.com/owncloud/calendar/issues/958
An example calendar can be shared upon request.
The error message only appears with calvsynchronizer in MS Outlook 2016. Other CalDav clients used are fine (e.g. Android: DavDroid/Business Calendar 2, Linux/KDE: KOrganizer, Thunderbird/Lightning 60.x on both Linux and Windows
Please check older tickets with the same error.
As the error message says your data is invalid and contains recurennce rules with both COUNT and UNTIL. Maybe other clients ignore it.
Check the calendar events from the sync report
/owncloud/remote.php/dav/calendars/thommie3/personal/1541944640.R798.ics
/owncloud/remote.php/dav/calendars/thommie3/personal/1542022393.R141.ics
/owncloud/remote.php/dav/calendars/thommie3/personal/1536565643.R789.ics
/owncloud/remote.php/dav/calendars/thommie3/personal/1540392862.R67.ics
/owncloud/remote.php/dav/calendars/thommie3/personal/1542022332.R911.ics
/owncloud/remote.php/dav/calendars/thommie3/personal/1542361848.R676.ics
/owncloud/remote.php/dav/calendars/thommie3/personal/1536687527.R63.ics
/owncloud/remote.php/dav/calendars/thommie3/personal/1541944434.R976.ics
/owncloud/remote.php/dav/calendars/thommie3/personal/1541944434.R976.ics
ok; I checked 3 samples. All contains the same string:
DTSTART:19800928T030000
RRULE:FREQ=YEARLY;UNTIL=19961027T030000;COUNT=16;BYDAY=-1SU;BYMONTH=9
DTSTART:19800928T030000
RRULE:FREQ=YEARLY;UNTIL=19961027T030000;COUNT=16;BYDAY=-1SU;BYMONTH=9
DTSTART:19800928T030000
RRULE:FREQ=YEARLY;UNTIL=19961027T030000;COUNT=16;BYDAY=-1SU;BYMONTH=9
So there should be only UNTIL or COUNT, but not both, correct? I don't remember which application was used to create these ics files... Can you send me a link to the appropriate spec? I would add a PR for the import code of the calendar app for NC/OC .
yes, see
https://tools.ietf.org/html/rfc2445#page-40
or better
https://tools.ietf.org/html/rfc5545#section-3.3.10
Last edit: Alexander Nimmervoll 2018-12-27