Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Browser Plugins API returns an error in combination with filter_truncate #3892

Closed
tsteur opened this Issue · 4 comments

2 participants

@tsteur
Owner

Link to reproduce: http://demo.piwik.org/?module=API&method=UserSettings.getPlugin&idSite=7&period=day&date=today&format=JSON&token_auth=anonymous&filter_truncate=3

Error Message:

{
result: "error",
message: "API returned an error: Trying to add two strings values in DataTable_Row::sumRowArray: '79.6%' + '54.4%'"
}
@tsteur
Owner

Maybe it could count how many other plugins are available instead of adding the percentages?

Background: I am using filter_truncate on all reports of the dashboard in new Piwik Mobile app

@mattab
Owner

In 7853d2d: fixes #3892 Fixing + testing filter_truncate on getPlugin

@mattab
Owner

btw the fix is not ideal (the "nb_visits" is pretty incorrect / pointless) but at least it works ;)

@tsteur
Owner

thx!

@mattab mattab was assigned by tsteur
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.