{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/plugin-Bandwidth/issues/4","repository_url":"https://api.github.com/repos/piwik/plugin-Bandwidth","labels_url":"https://api.github.com/repos/piwik/plugin-Bandwidth/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/piwik/plugin-Bandwidth/issues/4/comments","events_url":"https://api.github.com/repos/piwik/plugin-Bandwidth/issues/4/events","html_url":"https://github.com/piwik/plugin-Bandwidth/issues/4","id":60433783,"number":4,"title":"Bandwidth sum returns negative for large byte values","user":{"login":"mattjuna","id":11399052,"avatar_url":"https://avatars.githubusercontent.com/u/11399052?v=3","gravatar_id":"","url":"https://api.github.com/users/mattjuna","html_url":"https://github.com/mattjuna","followers_url":"https://api.github.com/users/mattjuna/followers","following_url":"https://api.github.com/users/mattjuna/following{/other_user}","gists_url":"https://api.github.com/users/mattjuna/gists{/gist_id}","starred_url":"https://api.github.com/users/mattjuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattjuna/subscriptions","organizations_url":"https://api.github.com/users/mattjuna/orgs","repos_url":"https://api.github.com/users/mattjuna/repos","events_url":"https://api.github.com/users/mattjuna/events{/privacy}","received_events_url":"https://api.github.com/users/mattjuna/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/piwik/plugin-Bandwidth/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/piwik/plugin-Bandwidth/milestones/1","html_url":"https://github.com/piwik/plugin-Bandwidth/milestones/Current%20sprint","labels_url":"https://api.github.com/repos/piwik/plugin-Bandwidth/milestones/1/labels","id":1153963,"number":1,"title":"Current sprint","description":null,"creator":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"open","created_at":"2015-06-08T03:11:53Z","updated_at":"2016-09-14T00:04:14Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-10T00:40:43Z","updated_at":"2016-09-14T00:04:14Z","closed_at":"2016-09-14T00:04:14Z","body":"The bandwidth sum returns negative for large byte values Bandwidth/Columns/MetricsBase.php when the sum of the bytes is a large number. Commenting the cast fixes the problem.\r\n\r\nHappens when the summary bandwidth is over 4GB \r\n\r\n    public function getMetricAsIntSafe(Row $row, $metric)\r\n    {\r\n        $value = $this->getMetric($row, $metric);\r\n\r\n        if (false !== $value) {\r\n            //$value = (int) $value;\r\n        }\r\n\r\n        return $value;\r\n    }"},"comment":{"url":"https://api.github.com/repos/piwik/plugin-Bandwidth/issues/comments/246865202","html_url":"https://github.com/piwik/plugin-Bandwidth/issues/4#issuecomment-246865202","issue_url":"https://api.github.com/repos/piwik/plugin-Bandwidth/issues/4","id":246865202,"user":{"login":"tsteur","id":273120,"avatar_url":"https://avatars.githubusercontent.com/u/273120?v=3","gravatar_id":"","url":"https://api.github.com/users/tsteur","html_url":"https://github.com/tsteur","followers_url":"https://api.github.com/users/tsteur/followers","following_url":"https://api.github.com/users/tsteur/following{/other_user}","gists_url":"https://api.github.com/users/tsteur/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteur/subscriptions","organizations_url":"https://api.github.com/users/tsteur/orgs","repos_url":"https://api.github.com/users/tsteur/repos","events_url":"https://api.github.com/users/tsteur/events{/privacy}","received_events_url":"https://api.github.com/users/tsteur/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T00:04:14Z","updated_at":"2016-09-14T00:04:14Z","body":"I know this is a bit late but it will be fixed with Piwik 3 which will be released before the end of the year. Thanks for the report and the proposed fix 👍 "}}
{"actor":{"display_login":"tsteur"}}