updateProperties: catch exception when reading calendar data

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2017-04-25 16:42:41 +02:00
parent dd424fcb7b
commit ac3cc5211b
No known key found for this signature in database
GPG key ID: 9D98FD9380A1CB43

View file

@ -1970,7 +1970,12 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
*/
public function updateProperties($calendarId, $objectUri, $calendarData) {
$objectId = $this->getCalendarObjectId($calendarId, $objectUri);
$vCalendar = $this->readCalendarData($calendarData);
try {
$vCalendar = $this->readCalendarData($calendarData);
} catch (\Exception $ex) {
return;
}
$this->purgeProperties($calendarId, $objectId);