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

make sure updates can run after bootstrap #958

Conversation

mikkeschiren
Copy link
Contributor

@mikkeschiren mikkeschiren commented Dec 16, 2024

Description:

When Matomo bootstraps, it can stop the upgrade to 5.2.0 as the array
key $container['isTagFireLimitAllowedInPreviewMode'] in some cases is accessed in Context/BaseContext.php.

The suggested patch sets $isTagFireLimitAllowedInPreviewMode = 0 as default and checks if array key exists for isTagFireLimitAllowedInPreviewMode.

Fixes: #959

Review

@MatomoForumNotifications

This pull request has been mentioned on Matomo forums. There might be relevant details there:

https://forum.matomo.org/t/errror-after-update-to-matomo-5-2/61622/6

Copy link
Contributor

@snake14 snake14 left a comment

Choose a reason for hiding this comment

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

Thank you for taking the time to create this PR. It looks good to me 👍

Any objections merging this @AltamashShaikh ?

Copy link
Contributor

@AltamashShaikh AltamashShaikh left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@AltamashShaikh
Copy link
Contributor

@snake14 I will merge and fix the PHPCS issue

@AltamashShaikh AltamashShaikh merged commit 6d7a53d into matomo-org:5.x-dev Dec 17, 2024
4 of 5 checks passed
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.

Issue with missing array key at upgrade
4 participants