{"action":"closed","issue":{"url":"https://api.github.com/repos/lagotto/lagotto/issues/589","repository_url":"https://api.github.com/repos/lagotto/lagotto","labels_url":"https://api.github.com/repos/lagotto/lagotto/issues/589/labels{/name}","comments_url":"https://api.github.com/repos/lagotto/lagotto/issues/589/comments","events_url":"https://api.github.com/repos/lagotto/lagotto/issues/589/events","html_url":"https://github.com/lagotto/lagotto/issues/589","id":155254920,"number":589,"title":"ActiveRecord::RecordNotUnique in sidekiq#default","user":{"login":"mfenner","id":23151,"avatar_url":"https://avatars.githubusercontent.com/u/23151?v=3","gravatar_id":"","url":"https://api.github.com/users/mfenner","html_url":"https://github.com/mfenner","followers_url":"https://api.github.com/users/mfenner/followers","following_url":"https://api.github.com/users/mfenner/following{/other_user}","gists_url":"https://api.github.com/users/mfenner/gists{/gist_id}","starred_url":"https://api.github.com/users/mfenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfenner/subscriptions","organizations_url":"https://api.github.com/users/mfenner/orgs","repos_url":"https://api.github.com/users/mfenner/repos","events_url":"https://api.github.com/users/mfenner/events{/privacy}","received_events_url":"https://api.github.com/users/mfenner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lagotto/lagotto/labels/bug","name":"bug","color":"eb6420"},{"url":"https://api.github.com/repos/lagotto/lagotto/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-05-17T13:07:32Z","updated_at":"2016-08-22T13:47:38Z","closed_at":"2016-08-22T13:47:38Z","body":"## Error in Event Data Backend\n\n**ActiveRecord::RecordNotUnique** in **sidekiq#default**\nMysql2::Error: Duplicate entry 'http://doi.org/10.1021/JA507279Z' for key 'index_works_on_pid': INSERT INTO `works` (`pid`, `csl`, `published_on`, `tracked`, `work_type_id`, `publisher_id`, `year`, `month`, `day`, `issued_at`, `title`, `doi`, `created_at`, `updated_at`, `lock_version`) VALUES ('http://doi.org/10.1021/JA507279Z', '{\\\"author\\\":[{\\\"family\\\":\\\"Tsurusaki\\\",\\\"given\\\":\\\"Akihiro\\\"},{\\\"family\\\":\\\"Kamiyama\\\",\\\"given\\\":\\\"Jun\\\"},{\\\"family\\\":\\\"Kyushin\\\",\\\"given\\\":\\\"Soichiro\\\"}],\\\"container-title\\\":\\\"J. Am. Chem. Soc.\\\",\\\"volume\\\":\\\"136\\\",\\\"page\\\":\\\"12896-12898\\\",\\\"issue\\\":\\\"37\\\"}', '2014-09-17', 1, 2, 241, 2014, 9, 17, '2014-09-17 00:00:00', 'Tetrasilane-Bridged Bicyclo[4.1.0]heptasil-1(6)-ene', '10.1021/ja507279z', '2016-05-17 13:07:33', '2016-05-17 13:07:33', 0)\n\n[View on Bugsnag](https://bugsnag.com/datacite/event-data-backend/errors/573b1793be3f29e6a6d2e17a?event_id=573b1793317bb14254f17f2c)\n\n## Stacktrace\n\n    app/models/concerns/processable.rb:15 - process_data\n    app/jobs/deposit_job.rb:10 - block in perform\n    app/jobs/deposit_job.rb:9 - perform\n\n[View full stacktrace](https://bugsnag.com/datacite/event-data-backend/errors/573b1793be3f29e6a6d2e17a?event_id=573b1793317bb14254f17f2c)"}}
{"actor":{"display_login":"mfenner"}}