{"action":"opened","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/2116","repository_url":"https://api.github.com/repos/medic/medic-webapp","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/2116/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/2116/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/2116/events","html_url":"https://github.com/medic/medic-webapp/issues/2116","id":142279170,"number":2116,"title":"User creation process doesn't attach the contact to the user, or set the language","user":{"login":"SCdF","id":583851,"avatar_url":"https://avatars.githubusercontent.com/u/583851?v=3","gravatar_id":"","url":"https://api.github.com/users/SCdF","html_url":"https://github.com/SCdF","followers_url":"https://api.github.com/users/SCdF/followers","following_url":"https://api.github.com/users/SCdF/following{/other_user}","gists_url":"https://api.github.com/users/SCdF/gists{/gist_id}","starred_url":"https://api.github.com/users/SCdF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCdF/subscriptions","organizations_url":"https://api.github.com/users/SCdF/orgs","repos_url":"https://api.github.com/users/SCdF/repos","events_url":"https://api.github.com/users/SCdF/events{/privacy}","received_events_url":"https://api.github.com/users/SCdF/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Bug","name":"Bug","color":"c10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-21T07:54:16Z","updated_at":"2016-03-21T07:54:16Z","closed_at":null,"body":"To create a user, each user needs:\r\n- _users/org.couchDb:ExampleUser\r\n- medic/org.couchDb:ExampleUser\r\n- medic/someRandomContactId\r\n\r\nIt looks like (@sglangevin can provide more info) the contact is created **but not attached to the medic user**. This makes the user invalid wrt creating forms.\r\n\r\nThe default language is also not set correctly.\r\n\r\ncc. @mandric "}}