Skip to content

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Oct 12, 2023

Description:

This aims to fix #20585. I actually wasn't able to reproduce the problem, but based on the error message it seems that for some reason a boolean value is set as datatable for the visualization view. As the view file uses this as DataTable object it causes an error.
This PR adds a simple check to ensure only DataTable objects are passed to the view.

Review

@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Oct 12, 2023
@sgiehl sgiehl added this to the 5.0.0 milestone Oct 12, 2023
@sgiehl sgiehl requested a review from a team October 12, 2023 08:17
Copy link
Contributor

@michalkleiner michalkleiner left a comment

Choose a reason for hiding this comment

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

This one deserves to be approved. All tests green!

@caddoo caddoo merged commit 7580a3c into 5.x-dev Oct 16, 2023
@caddoo caddoo deleted the m20585 branch October 16, 2023 05:29
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 not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Development

Successfully merging this pull request may close these issues.

Fatal error: Impossible to invoke a method ("getRows") on a boolean variable in _dataTableViz_htmlTable.twig
3 participants