﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19404	Updating User's email in Admin fails if email already exists	Val Neekman	nobody	"If you had two users with different email addresses, then changed email address of User #1 via the admin page by setting it to that of User #2, then you would get this error:


django/contrib/auth/hashers.py"", line 135, in identify_hasher
    if len(encoded) == 32 and '$' not in encoded:
TypeError: object of type 'NoneType' has no len()

The above is a simple scenario just to create the error. In real life, with thousands of emails, one wouldn't know if an email is duplicate or not.

An error message could be raised here instead of the above error message that is not that intuitive for the above case.


"	Bug	closed	contrib.admin	1.5-beta-1	Normal	worksforme	duplicate email UserChangeForm Admin		Unreviewed	0	0	0	0	0	0
