updateProperties: catch exception when reading calendar data

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
pull/4098/head
Georg Ehrke 8 years ago
parent dd424fcb7b
commit ac3cc5211b
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
  1. 7
      apps/dav/lib/CalDAV/CalDavBackend.php

@ -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);

Loading…
Cancel
Save