nextcloud/apps/dav/tests/unit
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
..
AppInfo Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Avatars Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
BackgroundJob Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
CalDAV broaden exception handling on webcal refresh 2020-09-29 20:47:38 -07:00
CardDAV Update license headers for Nextcloud 20 (again) 2020-09-07 14:37:44 +02:00
Command Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Comments Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Connector fix tests 2020-08-26 15:46:24 +02:00
Controller Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
DAV Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Direct Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Files Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Migration Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Provisioning/Apple Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Search Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Settings Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
SystemTag Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Upload Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
CapabilitiesTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ServerTest.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
bootstrap.php Update license headers 2019-12-05 15:38:45 +01:00
phpunit.xml Adding AvatarHomeTest 2017-03-29 00:04:29 +02:00