{"action":"created","issue":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/2551","repository_url":"https://api.github.com/repos/go-gitea/gitea","labels_url":"https://api.github.com/repos/go-gitea/gitea/issues/2551/labels{/name}","comments_url":"https://api.github.com/repos/go-gitea/gitea/issues/2551/comments","events_url":"https://api.github.com/repos/go-gitea/gitea/issues/2551/events","html_url":"https://github.com/go-gitea/gitea/issues/2551","id":258828805,"number":2551,"title":"\"Comment and close\" replaces first issue comment with last comment","user":{"login":"mxmehl","id":6170081,"avatar_url":"https://avatars2.githubusercontent.com/u/6170081?v=4","gravatar_id":"","url":"https://api.github.com/users/mxmehl","html_url":"https://github.com/mxmehl","followers_url":"https://api.github.com/users/mxmehl/followers","following_url":"https://api.github.com/users/mxmehl/following{/other_user}","gists_url":"https://api.github.com/users/mxmehl/gists{/gist_id}","starred_url":"https://api.github.com/users/mxmehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxmehl/subscriptions","organizations_url":"https://api.github.com/users/mxmehl/orgs","repos_url":"https://api.github.com/users/mxmehl/repos","events_url":"https://api.github.com/users/mxmehl/events{/privacy}","received_events_url":"https://api.github.com/users/mxmehl/received_events","type":"User","site_admin":false},"labels":[{"id":608693925,"url":"https://api.github.com/repos/go-gitea/gitea/labels/kind/regression","name":"kind/regression","color":"c92f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/go-gitea/gitea/milestones/4","html_url":"https://github.com/go-gitea/gitea/milestone/4","labels_url":"https://api.github.com/repos/go-gitea/gitea/milestones/4/labels","id":2111552,"number":4,"title":"1.x.x","description":"","creator":{"login":"tboerger","id":156964,"avatar_url":"https://avatars3.githubusercontent.com/u/156964?v=4","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"open_issues":322,"closed_issues":0,"state":"open","created_at":"2016-11-03T08:40:47Z","updated_at":"2017-09-21T04:59:29Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2017-09-19T13:52:44Z","updated_at":"2017-09-21T21:09:29Z","closed_at":null,"author_association":"NONE","body":"- Gitea version (or commit ref): d155d0e\r\n- Git version: 2.1.4\r\n- Operating system: Debian 8\r\n- Database (use `[x]`):\r\n  - [ ] PostgreSQL\r\n  - [x] MySQL\r\n  - [ ] MSSQL\r\n  - [ ] SQLite\r\n- Can you reproduce the bug at https://try.gitea.io:\r\n  - [x] Yes (provide example URL): https://try.gitea.io/mxmehl/test1/issues/1\r\n  - [ ] No\r\n  - [ ] Not relevant\r\n- Log gist:\r\n\r\n## Description\r\n\r\nThis is a very severe bug because is modifies issues and potentially important information!\r\n\r\nIn an open issue, when clicking \"comment and close\", the text of the closing comment replaces the text of the first comment in this issue (*fortunately* not those in between).\r\n\r\nExamples: https://try.gitea.io/mxmehl/test1/issues/1 or https://git.fsfe.org/pmpc/website/issues/89"},"comment":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/comments/331282685","html_url":"https://github.com/go-gitea/gitea/issues/2551#issuecomment-331282685","issue_url":"https://api.github.com/repos/go-gitea/gitea/issues/2551","id":331282685,"user":{"login":"mxmehl","id":6170081,"avatar_url":"https://avatars2.githubusercontent.com/u/6170081?v=4","gravatar_id":"","url":"https://api.github.com/users/mxmehl","html_url":"https://github.com/mxmehl","followers_url":"https://api.github.com/users/mxmehl/followers","following_url":"https://api.github.com/users/mxmehl/following{/other_user}","gists_url":"https://api.github.com/users/mxmehl/gists{/gist_id}","starred_url":"https://api.github.com/users/mxmehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxmehl/subscriptions","organizations_url":"https://api.github.com/users/mxmehl/orgs","repos_url":"https://api.github.com/users/mxmehl/repos","events_url":"https://api.github.com/users/mxmehl/events{/privacy}","received_events_url":"https://api.github.com/users/mxmehl/received_events","type":"User","site_admin":false},"created_at":"2017-09-21T21:09:29Z","updated_at":"2017-09-21T21:09:29Z","author_association":"NONE","body":"Workaround: Comment on an issue, and close it in a second step. Then the first message isn't overwritten. But who does it this way if there's a shortcut?"}}
{"actor":{"display_login":"mxmehl"}}