Skip to content

Register service aliases und parameters just once#25786

Merged
ChristophWurst merged 1 commit into
masterfrom
fix/register-aliases-params-once
Feb 25, 2021
Merged

Register service aliases und parameters just once#25786
ChristophWurst merged 1 commit into
masterfrom
fix/register-aliases-params-once

Conversation

@ChristophWurst

@ChristophWurst ChristophWurst commented Feb 24, 2021

Copy link
Copy Markdown
Member

Fixes #24711

Leftover of #24164

So basically what happened is that registration is run for all enabled apps, all the things are delegated and cleaned up but not the aliases and params. Then a new app gets enabled, we do async registration but the previous aliases and params are also re-registered, but the $apps then won't have the other application instances any more -> 💥

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst

Copy link
Copy Markdown
Member Author

@axheli @TomasTokaMrazek @klou @amatteo78 please test

@ChristophWurst

Copy link
Copy Markdown
Member Author

/backport to stable21

@szaimen szaimen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I've applied the fix and can confirm that the fix works 👍

@kesselb kesselb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good 👍

@nickvergessen

Copy link
Copy Markdown
Member

PHP CS complains?

@ChristophWurst

Copy link
Copy Markdown
Member Author

PHP CS complains?

but somewhere else 🤷

@ChristophWurst

Copy link
Copy Markdown
Member Author

but somewhere else shrug

I think because of #24978

@ChristophWurst ChristophWurst merged commit ce082dd into master Feb 25, 2021
@ChristophWurst ChristophWurst deleted the fix/register-aliases-params-once branch February 25, 2021 08:47
@ChristophWurst

Copy link
Copy Markdown
Member Author

I think because of #24978

#25793

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.

Nextcloud 21 beta 1 Error: Call to a member function getContainer() on null

4 participants