Skip to content

Conversation

@nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented May 5, 2021

Steps

  1. Put the code from https://github.com/NastuzziSamy/files_external_gdrive/releases in place
  2. Enable the app directly in the database, or comment out the implements IBackendProvider part in the Application class only for enabling
  3. Try to disable it via OCC or do anything else in OCC

@nickvergessen
Copy link
Member Author

/backport to stable21

@nickvergessen
Copy link
Member Author

/backport to stable20

Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@nickvergessen nickvergessen merged commit 4d82a94 into master May 5, 2021
@nickvergessen nickvergessen deleted the bugfix/noid/dont-break-occ-when-an-app-is-breaking-in-application-class branch May 5, 2021 09:50
@nickvergessen
Copy link
Member Author

/backport to stable21

@nickvergessen
Copy link
Member Author

/backport to stable20

@backportbot-nextcloud
Copy link

The backport to stable21 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

try {
self::loadApp($app);
} catch (\Throwable $e) {
\OC::$server->get(LoggerInterface::class)->emergency('Error during app loading: ' . $e->getMessage(), [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will then cause the app not being disabled anymore on errors, right? IMO a good thing 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants