{"action":"opened","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3853","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3853/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3853/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3853/events","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/3853","id":97778959,"number":3853,"title":"merge accounts after removal of add-ons fails","user":{"login":"jlcohoon","id":4965832,"avatar_url":"https://avatars.githubusercontent.com/u/4965832?v=3","gravatar_id":"","url":"https://api.github.com/users/jlcohoon","html_url":"https://github.com/jlcohoon","followers_url":"https://api.github.com/users/jlcohoon/followers","following_url":"https://api.github.com/users/jlcohoon/following{/other_user}","gists_url":"https://api.github.com/users/jlcohoon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlcohoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlcohoon/subscriptions","organizations_url":"https://api.github.com/users/jlcohoon/orgs","repos_url":"https://api.github.com/users/jlcohoon/repos","events_url":"https://api.github.com/users/jlcohoon/events{/privacy}","received_events_url":"https://api.github.com/users/jlcohoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-28T19:03:25Z","updated_at":"2015-07-28T19:03:25Z","closed_at":null,"body":"On staging—haven't tested with production. \r\nTo test this, you need two accounts: one primary (the one that will be merged into) and one alternate (the one that is being merged into the primary).\r\n## Steps\r\n1. Prior to initiating the merge process, using your alternate account, add an add-on to a project.\r\n2. Remove the add-on from the project.\r\n3. From your primary account, visit Account Settings and enter the alternate account's email so that it can be merged in.\r\n4. Visit the alternate account's email inbox and follow the link in the confirmation email you have been sent.\r\n5. Click to confirm the merge.\r\n\r\n\r\n## Outcome\r\n1. On confirming the merge, you are brought to an error page informing you that you cannot merge the accounts because of an issue with add-ons. \r\n2. Removing the add-on access token entirely from the alternate account *still* results in this issue.\r\n3. Removing all add-ons from the primary account so that neither of the two have any add-ons still results in being brought to an error page citing add-ons as the problem.\r\n4. Resending the confirmation email does not resolve the issue\r\n\r\n## Expected Outcome\r\n1. If the alternate account does not have any projects with add-ons, merge should be successful.\r\n"}}