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

Using flat=1 and filter_truncate=x at the same time causes error #4498

Open
mattab opened this issue Jan 10, 2014 · 0 comments
Open

Using flat=1 and filter_truncate=x at the same time causes error #4498

mattab opened this issue Jan 10, 2014 · 0 comments
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.

Comments

@mattab
Copy link
Member

mattab commented Jan 10, 2014

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?

@mattab mattab added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

1 participant