nextcloud-server/lib/private/AppFramework/Bootstrap
Christoph Wurst 80dd0b9418
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-06-25 11:40:35 +07:00
..
ARegistration.php Update php licenses 2021-06-04 22:02:41 +07:00
BootContext.php Update php licenses 2021-06-04 22:02:41 +07:00
Coordinator.php Update php licenses 2021-06-04 22:02:41 +07:00
EventListenerRegistration.php Update php licenses 2021-06-04 22:02:41 +07:00
FunctionInjector.php Update php licenses 2021-06-04 22:02:41 +07:00
ParameterRegistration.php Update php licenses 2021-06-04 22:02:41 +07:00
RegistrationContext.php Harden bootstrap context registrations when apps are missing 2021-06-25 11:40:35 +07:00
ServiceAliasRegistration.php Update php licenses 2021-06-04 22:02:41 +07:00
ServiceFactoryRegistration.php Update php licenses 2021-06-04 22:02:41 +07:00
ServiceRegistration.php Update php licenses 2021-06-04 22:02:41 +07:00