{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2656","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2656/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2656/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2656/events","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/2656","id":73742320,"number":2656,"title":"[staging & production] Removed component still recorded as registered in log","user":{"login":"caileyfitz","id":5975444,"avatar_url":"https://avatars.githubusercontent.com/u/5975444?v=3","gravatar_id":"","url":"https://api.github.com/users/caileyfitz","html_url":"https://github.com/caileyfitz","followers_url":"https://api.github.com/users/caileyfitz/followers","following_url":"https://api.github.com/users/caileyfitz/following{/other_user}","gists_url":"https://api.github.com/users/caileyfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/caileyfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caileyfitz/subscriptions","organizations_url":"https://api.github.com/users/caileyfitz/orgs","repos_url":"https://api.github.com/users/caileyfitz/repos","events_url":"https://api.github.com/users/caileyfitz/events{/privacy}","received_events_url":"https://api.github.com/users/caileyfitz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/5%20-%20pending%20review","name":"5 - pending review","color":"cccccc"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/bug:%20production","name":"bug: production","color":"e11d21"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/level%202","name":"level 2","color":"bfd4f2"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/priority%20-%20high","name":"priority - high","color":"FF810F"}],"state":"closed","locked":false,"assignee":{"login":"chennan47","id":4974056,"avatar_url":"https://avatars.githubusercontent.com/u/4974056?v=3","gravatar_id":"","url":"https://api.github.com/users/chennan47","html_url":"https://github.com/chennan47","followers_url":"https://api.github.com/users/chennan47/followers","following_url":"https://api.github.com/users/chennan47/following{/other_user}","gists_url":"https://api.github.com/users/chennan47/gists{/gist_id}","starred_url":"https://api.github.com/users/chennan47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chennan47/subscriptions","organizations_url":"https://api.github.com/users/chennan47/orgs","repos_url":"https://api.github.com/users/chennan47/repos","events_url":"https://api.github.com/users/chennan47/events{/privacy}","received_events_url":"https://api.github.com/users/chennan47/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-05-06T21:27:34Z","updated_at":"2015-06-02T20:58:44Z","closed_at":"2015-05-20T19:06:22Z","body":"# Steps\r\n1. Go to a project which has multiple components\r\n2. Delete one of the components\r\n3. Register the project\r\n4. Look at the log\r\n\r\n# Expectation\r\nI expect that the logs would only record registrations of non-deleted nodes.\r\n\r\n# Actual\r\nThe log records that the deleted component was registered. Clicking the name of the deleted component redirects to \"Resource deleted\" page. \r\nLog:\r\n![screen shot 2015-05-06 at 5 26 47 pm](https://cloud.githubusercontent.com/assets/5975444/7504050/201212ee-f415-11e4-8ed4-5a9b497f9902.png)\r\nAfter pressing **EOS**:\r\n![screen shot 2015-05-06 at 5 26 57 pm](https://cloud.githubusercontent.com/assets/5975444/7504051/22d8745a-f415-11e4-854b-719129f7f6a1.png)\r\n"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/108097292","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/2656#issuecomment-108097292","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2656","id":108097292,"user":{"login":"samchrisinger","id":2207561,"avatar_url":"https://avatars.githubusercontent.com/u/2207561?v=3","gravatar_id":"","url":"https://api.github.com/users/samchrisinger","html_url":"https://github.com/samchrisinger","followers_url":"https://api.github.com/users/samchrisinger/followers","following_url":"https://api.github.com/users/samchrisinger/following{/other_user}","gists_url":"https://api.github.com/users/samchrisinger/gists{/gist_id}","starred_url":"https://api.github.com/users/samchrisinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samchrisinger/subscriptions","organizations_url":"https://api.github.com/users/samchrisinger/orgs","repos_url":"https://api.github.com/users/samchrisinger/repos","events_url":"https://api.github.com/users/samchrisinger/events{/privacy}","received_events_url":"https://api.github.com/users/samchrisinger/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T20:58:44Z","updated_at":"2015-06-02T20:58:44Z","body":"This hotfix is definitely an improvement, but registrations with deleted components will now get 500's instead. \r\n\r\nI'm proposing this as a better fix: https://github.com/samchrisinger/osf.io/commit/9dd9a657c192564cc4cc86ce49aa4b7572868d5a,\r\nand will include this in Archiver "}}