{"action":"opened","issue":{"url":"https://api.github.com/repos/melmothx/amusewiki/issues/141","repository_url":"https://api.github.com/repos/melmothx/amusewiki","labels_url":"https://api.github.com/repos/melmothx/amusewiki/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/melmothx/amusewiki/issues/141/comments","events_url":"https://api.github.com/repos/melmothx/amusewiki/issues/141/events","html_url":"https://github.com/melmothx/amusewiki/issues/141","id":263725390,"number":141,"title":"Suspicious crash on text parts update","user":{"login":"melmothx","id":130971,"avatar_url":"https://avatars3.githubusercontent.com/u/130971?v=4","gravatar_id":"","url":"https://api.github.com/users/melmothx","html_url":"https://github.com/melmothx","followers_url":"https://api.github.com/users/melmothx/followers","following_url":"https://api.github.com/users/melmothx/following{/other_user}","gists_url":"https://api.github.com/users/melmothx/gists{/gist_id}","starred_url":"https://api.github.com/users/melmothx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melmothx/subscriptions","organizations_url":"https://api.github.com/users/melmothx/orgs","repos_url":"https://api.github.com/users/melmothx/repos","events_url":"https://api.github.com/users/melmothx/events{/privacy}","received_events_url":"https://api.github.com/users/melmothx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-08T15:20:03Z","updated_at":"2017-10-08T15:20:03Z","closed_at":null,"author_association":"OWNER","body":"2017/10/08 15:56:35 ERROR - AmuseWikiFarm.Schema.Result.Title - /usr/share/perl5/AmuseWikiFarm/Schema/Result/Title.pm:1073 - DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR:  duplicate key      \r\nvalue violates unique constraint \"text_part_pkey\"                                                                                                                                                                                             \r\nDETAIL:  Key (title_id, part_index)=(10626, post) already exists. [for Statement \"INSERT INTO \"text_part\" ( \"part_index\", \"part_level\", \"part_order\", \"part_size\", \"part_title\", \"title_id\", \"toc_index\") VALUES ( ?, ?, ?, ?, ?, ?, ? )\"     \r\nwith ParamValues: 1='post', 2='0', 3='16', 4='0', 5='', 6='10626', 7='0'] at /usr/share/perl5/AmuseWikiFarm/Schema/Result/Title.pm line 1060                                                                                                  \r\n Failed to set text parts for 10626                                                                                                                                                                                                           \r\n\r\nThis is probably due to a concurrent request, but I would expect two crashes. Unclear if this needs be protected by a transaction. Probably yes, but should be many cases in the future. Keeping an eye on this."}}
{"actor":{"display_login":"melmothx"}}