Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #27668

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 <[email protected]>
@nickvergessen nickvergessen added the 3. to review Waiting for reviews label Jun 29, 2021
@juliusknorr juliusknorr merged commit 7e506ba into stable22 Jun 29, 2021
@juliusknorr juliusknorr deleted the backport/27668/stable22 branch June 29, 2021 16:05
@blizzz blizzz mentioned this pull request Jun 30, 2021
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants