Skip to content

Do not load extra user backends when an upgrade is due - #10927

Merged
PVince81 merged 1 commit into
masterfrom
update-nosetupbackends
Sep 8, 2014
Merged

PVince81 merged 1 commit into
masterfrom
update-nosetupbackends

Conversation

@PVince81

@PVince81 PVince81 commented Sep 8, 2014

Copy link
Copy Markdown
Contributor

Whenever an upgrade is due, do not load extra user backends

Fixes #10762

Steps:

  1. Setup OC 6.0.4
  2. Enable user_external (do not configure it)
  3. Upgrade to this PR's branch

Before the fix: exception
After the fix: upgrade works

Please review/test @AdamWill @icewind1991 @blizzz

Whenever an upgrade is due, do not load extra user backends
@icewind1991

Copy link
Copy Markdown
Contributor

Code makes sense 👍

@PVince81

PVince81 commented Sep 8, 2014

Copy link
Copy Markdown
Contributor Author

Just tested with user_ldap and this issue doesn't happen for that one because it's not a "prelogin" app, so it doesn't get loaded at this stage.

@scrutinizer-notifier

Copy link
Copy Markdown

The inspection completed: No issues found

@ghost

ghost commented Sep 8, 2014

Copy link
Copy Markdown

@karlitschek

Copy link
Copy Markdown
Contributor

great! 👍 Please also backport

PVince81 pushed a commit that referenced this pull request Sep 8, 2014
Do not load extra user backends when an upgrade is due
@PVince81
PVince81 merged commit a9a3f17 into master Sep 8, 2014
@PVince81
PVince81 deleted the update-nosetupbackends branch September 8, 2014 20:57
@PVince81

PVince81 commented Sep 8, 2014

Copy link
Copy Markdown
Contributor Author

Backported to stable7 as 9816f62c5864674a205fc362f06be183345720e2

@AdamWill

AdamWill commented Sep 9, 2014

Copy link
Copy Markdown
Contributor

@PVince81 "Backported to stable7 as 9816f62c5864674a205fc362f06be183345720e2" <-- are you sure? I don't see that commit, or a backport of this patch with any other commit ID, on stable7. Did you forget to push?

@PVince81

Copy link
Copy Markdown
Contributor Author

Indeed, sorry. Pushed now.
It's dedb473

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade from 6.0.4 to 7.0.2 fails with OC\NeedsUpdateException if user_external app is installed

6 participants