[Bug] When deleting currently selected site, and you delete that site, an error shows up #22788
Open
4 tasks done
Labels
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
triaged
What happened?
An error shows up and you can't use Matomo anymore when you delete the currently selected site. When you try to go back every previous page will show an error too because the site has been deleted.
What should happen?
When you delete the currently selected site, Matomo should change the idSite parameter in the URL to a valid idSite so that measurable management works again.
How can this be reproduced?
Matomo version
5
PHP version
No response
Server operating system
No response
What browsers are you seeing the problem on?
No response
Computer operating system
No response
Relevant log output
No response
Validations
The text was updated successfully, but these errors were encountered: