Using flat=1 and filter_truncate=x at the same time causes error #4498
Labels
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
http://demo.piwik.org/index.php?module=API&method=Actions.getPageUrls&idSite=3&period=day&date=yesterday&format=xml&filter_truncate=0&flat=1
<error message="Trying to add two strings values in DataTable\Row::sumRowArray: '88%' + '100%'"/>
This is caused by the flattener filter which executes the Queued filters. After executing the queued filters, the processed metrics are added to the table. Then the Truncate filters runs and KABOOM, we cannot sum the processed metrics columns.
I'm not sure what the correct fix would be?
The text was updated successfully, but these errors were encountered: