Dear SabreDAV experts,
I'm using Outlook 2010 together with the OutlookCalDAVSynchronizer
to change calendar events in our SabreDAV server.
Synchronizsation fails with the following error message:
CalDavSynchronizer.DataAccess.WebDavClientException: Response status code does not indicate success: '415' ('UnsupportedMediaType'). Message:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="
http://sabredav.org/ns">
<s:sabredav-version>3.2.0-beta1</s:sabredav-version>
<s:exception>Sabre\DAV\Exception\UnsupportedMediaType</s:exception>
<s:message>Validation error in iCalendar: Invalid value for BYMINUTE in RRULE, Raw=FREQ=YEARLY;BYDAY=-1SU;BYHOUR=2;BYMINUTE=0;BYMONTH=10</s:message>
</d:error>
I searched the SabreDAV source for the string 'Invalid value for' and
found it in sabre/vobject/lib/Property/ICalendar/Recur.php at line 266.
SabreDAV chokes on a BYMINUTE-value, so I replaced line 266
'message' => 'Invalid value for ' . $key . ' in ' . $this->name,
with
'message' => 'Invalid value for ' . $key . ' in ' . $this->name . ', Raw=' . $this->getRawMimeDirValue(),
Seems like SabreDAV doesn't like BYMINUTE=0 in RRULE