{"action":"created","issue":{"url":"https://api.github.com/repos/GeoNode/geonode/issues/1591","labels_url":"https://api.github.com/repos/GeoNode/geonode/issues/1591/labels{/name}","comments_url":"https://api.github.com/repos/GeoNode/geonode/issues/1591/comments","events_url":"https://api.github.com/repos/GeoNode/geonode/issues/1591/events","html_url":"https://github.com/GeoNode/geonode/issues/1591","id":37865119,"number":1591,"title":"User is created although mail is not sent","user":{"login":"jean","id":84800,"avatar_url":"https://avatars.githubusercontent.com/u/84800?v=3","gravatar_id":"","url":"https://api.github.com/users/jean","html_url":"https://github.com/jean","followers_url":"https://api.github.com/users/jean/followers","following_url":"https://api.github.com/users/jean/following{/other_user}","gists_url":"https://api.github.com/users/jean/gists{/gist_id}","starred_url":"https://api.github.com/users/jean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean/subscriptions","organizations_url":"https://api.github.com/users/jean/orgs","repos_url":"https://api.github.com/users/jean/repos","events_url":"https://api.github.com/users/jean/events{/privacy}","received_events_url":"https://api.github.com/users/jean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GeoNode/geonode/labels/user-accounts-profiles","name":"user-accounts-profiles","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/GeoNode/geonode/milestones/5","labels_url":"https://api.github.com/repos/GeoNode/geonode/milestones/5/labels","id":345475,"number":5,"title":"2.4","description":"","creator":{"login":"capooti","id":148380,"avatar_url":"https://avatars.githubusercontent.com/u/148380?v=3","gravatar_id":"","url":"https://api.github.com/users/capooti","html_url":"https://github.com/capooti","followers_url":"https://api.github.com/users/capooti/followers","following_url":"https://api.github.com/users/capooti/following{/other_user}","gists_url":"https://api.github.com/users/capooti/gists{/gist_id}","starred_url":"https://api.github.com/users/capooti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capooti/subscriptions","organizations_url":"https://api.github.com/users/capooti/orgs","repos_url":"https://api.github.com/users/capooti/repos","events_url":"https://api.github.com/users/capooti/events{/privacy}","received_events_url":"https://api.github.com/users/capooti/received_events","type":"User","site_admin":false},"open_issues":178,"closed_issues":232,"state":"open","created_at":"2013-05-31T08:29:15Z","updated_at":"2015-02-04T17:07:00Z","due_on":"2015-02-14T08:00:00Z","closed_at":null},"comments":2,"created_at":"2014-07-15T09:24:53Z","updated_at":"2015-02-04T17:08:26Z","closed_at":null,"body":"When a new user registers, they are notified via mail.\r\nWhen notification fails, e.g. due to SMTP auth error, the mail is not sent and an error is displayed, but the user is created. \r\nWhen the user retries registration, they are informed that a user already exists. This is confusing. \r\n\r\nSuggestion: send mail transactionally. "},"comment":{"url":"https://api.github.com/repos/GeoNode/geonode/issues/comments/72894761","html_url":"https://github.com/GeoNode/geonode/issues/1591#issuecomment-72894761","issue_url":"https://api.github.com/repos/GeoNode/geonode/issues/1591","id":72894761,"user":{"login":"menegon","id":1444749,"avatar_url":"https://avatars.githubusercontent.com/u/1444749?v=3","gravatar_id":"","url":"https://api.github.com/users/menegon","html_url":"https://github.com/menegon","followers_url":"https://api.github.com/users/menegon/followers","following_url":"https://api.github.com/users/menegon/following{/other_user}","gists_url":"https://api.github.com/users/menegon/gists{/gist_id}","starred_url":"https://api.github.com/users/menegon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menegon/subscriptions","organizations_url":"https://api.github.com/users/menegon/orgs","repos_url":"https://api.github.com/users/menegon/repos","events_url":"https://api.github.com/users/menegon/events{/privacy}","received_events_url":"https://api.github.com/users/menegon/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T17:08:26Z","updated_at":"2015-02-04T17:08:26Z","body":"it works if we add a transaction.atomic decorator on account.views.SignupView.form_valid ( geonode-user-accounts).\r\njust tested."}}