nextcloud-server/lib/private/AppFramework
Christoph Wurst e3ae5571d5
Harden bootstrap context registrations when apps are missing
It's not expected that an app would be unavailable when the app
container is created but when services are registered, but Sentry tells
me on Nextcloud 21 there is an edge case where this can happen.
Therefore this patch hardens the code a bit to log a meaningful error
message and skipping the next code instead of logging a php notice for
the undefined index and an exception for calling a method on null.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-31 09:57:27 +07:00
..
Bootstrap Harden bootstrap context registrations when apps are missing 2021-08-31 09:57:27 +07:00
DependencyInjection Log the number of queries built and executed 2020-09-25 14:55:53 +07:00
Http Remove unneeded casts that were found by Psalm 2021-01-11 13:14:41 +07:00
Middleware fix error when using CORS with no auth credentials 2021-06-23 20:57:11 +07:00
OCS Propagate throttling on OCS response 2021-06-01 19:42:31 +07:00
Routing Remove unneeded casts that were found by Psalm 2021-01-11 13:14:41 +07:00
Services Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +07:00
Utility ReflectionParamter::getClass is deprecated 2020-11-11 20:42:14 +07:00
App.php Fix type errors detected by Psalm 2020-10-14 15:40:12 +07:00
Http.php Format code to a single space around binary operators 2020-10-05 20:25:24 +07:00
Logger.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +07:00
ScopedPsrLogger.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +07:00