nextcloud-server/lib/private/AppFramework/Bootstrap
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
..
BootContext.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +07:00
Coordinator.php Don't break OCC if an app is breaking in it's Application class 2021-05-06 14:46:11 +07:00
FunctionInjector.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +07:00
RegistrationContext.php Harden bootstrap context registrations when apps are missing 2021-08-31 09:57:27 +07:00