@tsteur opened this Issue on April 13th 2013 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 commented on April 13th 2013 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 commented on April 14th 2013 Owner

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

@mattab commented on April 14th 2013 Owner

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

@tsteur commented on April 14th 2013 Owner

thx!

This Issue was closed on April 14th 2013
Powered by GitHub Issue Mirror