{"action":"closed","issue":{"url":"https://api.github.com/repos/weseek/crowi-plus/issues/288","repository_url":"https://api.github.com/repos/weseek/crowi-plus","labels_url":"https://api.github.com/repos/weseek/crowi-plus/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/weseek/crowi-plus/issues/288/comments","events_url":"https://api.github.com/repos/weseek/crowi-plus/issues/288/events","html_url":"https://github.com/weseek/crowi-plus/issues/288","id":301829483,"number":288,"title":"Comment count not being updated when a comment of a page is deleted","user":{"login":"hitochan777","id":6002787,"avatar_url":"https://avatars2.githubusercontent.com/u/6002787?v=4","gravatar_id":"","url":"https://api.github.com/users/hitochan777","html_url":"https://github.com/hitochan777","followers_url":"https://api.github.com/users/hitochan777/followers","following_url":"https://api.github.com/users/hitochan777/following{/other_user}","gists_url":"https://api.github.com/users/hitochan777/gists{/gist_id}","starred_url":"https://api.github.com/users/hitochan777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hitochan777/subscriptions","organizations_url":"https://api.github.com/users/hitochan777/orgs","repos_url":"https://api.github.com/users/hitochan777/repos","events_url":"https://api.github.com/users/hitochan777/events{/privacy}","received_events_url":"https://api.github.com/users/hitochan777/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-02T16:42:05Z","updated_at":"2018-03-02T19:01:03Z","closed_at":"2018-03-02T19:01:03Z","author_association":"NONE","body":"Environment\r\n------------\r\n\r\n### Host\r\n\r\n| item     | version |\r\n| ---      | --- |\r\n|OS        |Ubuntu 16.04|\r\n|crowi-plus|2.4.2RC|\r\n|node.js   |6.13.0|\r\n|npm       |3.10.10|\r\n|Using Docker|yes|\r\n|Using [crowi-plus-docker-compose][crowi-plus-docker-compose]|yes|\r\n\r\n[crowi-plus-docker-compose]: https://github.com/weseek/crowi-plus-docker-compose\r\n\r\n### Client\r\n\r\n| item     | version |\r\n| ---      | --- |\r\n|OS        |Ubuntu16.04|\r\n|browser   |chrome|\r\n\r\nHow to reproduce? (再現手順)\r\n---------------------------\r\n\r\n1. Add a comment in a page. You can see that the comment count (in this case 1) next to the path to the page.\r\n1. Delete the comment.\r\n1. Reload the page, and you can see that the comment count is NOT zero. You can also see this phenomenon in the portal.\r\n \r\nWhat happens? (症状)\r\n---------------------\r\n- Comment count not being updated when a comment of a page is deleted\r\n\r\nWhat is the expected result? (期待される動作)\r\n-------------------------------------------\r\n\r\n- Comment count should also be updated when a comment is deleted.\r\n"}}
{"actor":{"display_login":"yuki-takei"}}