We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f573c4f + 6cab0e6 commit a713fb7Copy full SHA for a713fb7
apps/dav/lib/CalDAV/Reminder/ReminderService.php
@@ -40,6 +40,7 @@
40
use Sabre\VObject;
41
use Sabre\VObject\Component\VAlarm;
42
use Sabre\VObject\Component\VEvent;
43
+use Sabre\VObject\InvalidDataException;
44
use Sabre\VObject\ParseException;
45
use Sabre\VObject\Recur\EventIterator;
46
use Sabre\VObject\Recur\NoInstancesException;
@@ -274,7 +275,11 @@ private function onCalendarObjectCreate(array $objectData):void {
274
275
continue;
276
}
277
- $triggerTime = $valarm->getEffectiveTriggerTime();
278
+ try {
279
+ $triggerTime = $valarm->getEffectiveTriggerTime();
280
+ } catch (InvalidDataException $e) {
281
+ continue;
282
+ }
283
284
// If effective trigger time is in the past
285
// just skip and generate for next event
0 commit comments