{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6079","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6079/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6079/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6079/events","html_url":"https://github.com/OrchardCMS/Orchard/pull/6079","id":118945752,"number":6079,"title":"Fix a problem in TagCloudService when maxcount < bucket","user":{"login":"CSurieux","id":2103534,"avatar_url":"https://avatars.githubusercontent.com/u/2103534?v=3","gravatar_id":"","url":"https://api.github.com/users/CSurieux","html_url":"https://github.com/CSurieux","followers_url":"https://api.github.com/users/CSurieux/followers","following_url":"https://api.github.com/users/CSurieux/following{/other_user}","gists_url":"https://api.github.com/users/CSurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/CSurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSurieux/subscriptions","organizations_url":"https://api.github.com/users/CSurieux/orgs","repos_url":"https://api.github.com/users/CSurieux/repos","events_url":"https://api.github.com/users/CSurieux/events{/privacy}","received_events_url":"https://api.github.com/users/CSurieux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OrchardCMS/Orchard/labels/cla-required","name":"cla-required","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-26T00:08:32Z","updated_at":"2015-12-03T20:44:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/pulls/6079","html_url":"https://github.com/OrchardCMS/Orchard/pull/6079","diff_url":"https://github.com/OrchardCMS/Orchard/pull/6079.diff","patch_url":"https://github.com/OrchardCMS/Orchard/pull/6079.patch"},"body":"TagClouds bucket is not correctly set by tagcloudservice when the max count for all the tags is < to the number of buckets selected for the tagCloud widget. There was also some difficulties due to the usage of int in some temporary array, they have been replaced by double to solve the issues."},"comment":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/comments/161779446","html_url":"https://github.com/OrchardCMS/Orchard/pull/6079#issuecomment-161779446","issue_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6079","id":161779446,"user":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars.githubusercontent.com/u/1165805?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T20:44:36Z","updated_at":"2015-12-03T20:44:36Z","body":"Can we add a unit test for this method? If you want I can create it first with the common cases that I know so you can show the limitation you are trying to fix."}}