nextcloud/apps/dav/tests/unit/CalDAV
eleith aa956ab46e broaden exception handling on webcal refresh
when iterating through a calendar, recurrance events can throw an
exception if no instances of the recurrance are found.

this exception is of class `Exception` but the try/catch clause in the
webcal refresh loop only catches `BadRequest` exception.

this leads to the exception bubbling up and thus other calendar events
do not get processed by the event iterator.

this PR broadens the exception to handle both BadRequest and
NoInstanceFoundException so that the full webcal can be processed, even
if minor hiccups are processing on vobject

Signed-off-by: leith abdulla <online-nextcloud@eleith.com>
2020-09-29 20:47:38 -07:00
..
Activity Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
BirthdayCalendar Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Integration Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Publishing Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Reminder Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
ResourceBooking Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Schedule Minor cleanup: php-cs-fixer, tests, interface consistency 2020-09-02 17:54:36 +02:00
Search Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
WebcalCaching broaden exception handling on webcal refresh 2020-09-29 20:47:38 -07:00
AbstractCalDavBackend.php Add Typed Events for CalDAV- and CardDAV-related Events 2020-08-18 21:40:57 +02:00
CachedSubscriptionObjectTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
CachedSubscriptionTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
CalDavBackendTest.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
CalendarHomeTest.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
CalendarImplTest.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
CalendarManagerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
CalendarTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
OutboxTest.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
PluginTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
PublicCalendarRootTest.php Add Typed Events for CalDAV- and CardDAV-related Events 2020-08-18 21:40:57 +02:00
PublicCalendarTest.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00