Skip to content

Harden check for multiple sites #20342

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

Merged
merged 1 commit into from
Feb 9, 2023
Merged

Harden check for multiple sites #20342

merged 1 commit into from
Feb 9, 2023

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Feb 9, 2023

Description:

The Referrers.getAll API does not yet support requests for multiple sites or periods. We therefor had implemented a check if multiple sites are requests. In the very special case, that all is provided as idSite, but the user only has access to exactly one site, that check currently fails and the API tries to render an unsupported map, causing an error.

fixes #20339

Review

@sgiehl sgiehl added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Feb 9, 2023
@sgiehl sgiehl added this to the 4.13.4 milestone Feb 9, 2023
@sgiehl sgiehl merged commit 180aab4 into 4.x-dev Feb 9, 2023
@sgiehl sgiehl deleted the m20339 branch February 9, 2023 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
1 participant