{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5155","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5155/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5155/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5155/events","html_url":"https://github.com/OrchardCMS/Orchard/pull/5155","id":68487015,"number":5155,"title":"#4905: Fixed the Taxonomy term counter does not decrease.","user":{"login":"benschi11","id":698992,"avatar_url":"https://avatars.githubusercontent.com/u/698992?v=3","gravatar_id":"","url":"https://api.github.com/users/benschi11","html_url":"https://github.com/benschi11","followers_url":"https://api.github.com/users/benschi11/followers","following_url":"https://api.github.com/users/benschi11/following{/other_user}","gists_url":"https://api.github.com/users/benschi11/gists{/gist_id}","starred_url":"https://api.github.com/users/benschi11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benschi11/subscriptions","organizations_url":"https://api.github.com/users/benschi11/orgs","repos_url":"https://api.github.com/users/benschi11/repos","events_url":"https://api.github.com/users/benschi11/events{/privacy}","received_events_url":"https://api.github.com/users/benschi11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-14T20:19:42Z","updated_at":"2015-04-16T22:05:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/pulls/5155","html_url":"https://github.com/OrchardCMS/Orchard/pull/5155","diff_url":"https://github.com/OrchardCMS/Orchard/pull/5155.diff","patch_url":"https://github.com/OrchardCMS/Orchard/pull/5155.patch"},"body":"I think the problem is that the TermsPartHandler triggers the TermCountProcessor as a Task async. So the ContentItem is unpublished. We need to retrieve the TermPart with the VersionOption \"VersionOptions.Latest\" instead of the default \"VersionOptions.Published\".\r\n\r\nLink to codeplex: https://orchard.codeplex.com/SourceControl/network/forks/benschi11/orchardtaxonomycount/contribution/8129"},"comment":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/comments/93850216","html_url":"https://github.com/OrchardCMS/Orchard/pull/5155#issuecomment-93850216","issue_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/5155","id":93850216,"user":{"login":"benschi11","id":698992,"avatar_url":"https://avatars.githubusercontent.com/u/698992?v=3","gravatar_id":"","url":"https://api.github.com/users/benschi11","html_url":"https://github.com/benschi11","followers_url":"https://api.github.com/users/benschi11/followers","following_url":"https://api.github.com/users/benschi11/following{/other_user}","gists_url":"https://api.github.com/users/benschi11/gists{/gist_id}","starred_url":"https://api.github.com/users/benschi11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benschi11/subscriptions","organizations_url":"https://api.github.com/users/benschi11/orgs","repos_url":"https://api.github.com/users/benschi11/repos","events_url":"https://api.github.com/users/benschi11/events{/privacy}","received_events_url":"https://api.github.com/users/benschi11/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T22:05:58Z","updated_at":"2015-04-16T22:05:58Z","body":"I think I need to close this one and create a new one? Or is there a other way?"}}