Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix plugins not being updated when updating core #16316

Closed
wants to merge 1 commit into from
Closed

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Aug 18, 2020

Seems to have regressed in #15770

Haven't tested it yet but this should work. We'll then also need to fix this in Matomo 4 separately because the token_auth check wouldn't work there because it would check against the new app specific token auth table which wouldn't exist yet at the time this is executed.

Unfortunately this will basically only work on the next update. So if people update to 3.14.1 it will only work when they update from that version. It won't work yet from 3.14.0 to 3.14.1 since the old code would be used there.

Seems to have regressed in #15770

Haven't tested it yet but this should work. We'll then also need to fix this in Matomo 4 separately because the token_auth check wouldn't work there because it would check against the new app specific token auth table which wouldn't exist yet at the time this is executed.
@tsteur tsteur added the Needs Review PRs that need a code review label Aug 18, 2020
@tsteur tsteur added this to the 3.14.1 milestone Aug 18, 2020
@tsteur
Copy link
Member Author

tsteur commented Aug 19, 2020

will replace this PR with a better solution

@tsteur tsteur closed this Aug 19, 2020
@tsteur tsteur deleted the m16031_1 branch August 19, 2020 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants