Closed Bug 684982 Opened 13 years ago Closed 13 years ago

Affiliates: Registration form throws error on duplicate email

Categories

(Firefox Affiliates Graveyard :: affiliates.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cmore, Assigned: osmose)

References

Details

If you register twice on the homepage with the same email address it throws an error that is generic. It should throw an error saying that you already have an account and those strings should be localized.
Assignee: nobody → mkelly
This is the Django error to catch: "IntegrityError: (1062, "Duplicate entry 'foo@email.com' for key 'email'")"
Target Milestone: --- → 1.0
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Mike: what message are you displaying on duplicate registrations? I just tested this on -dev on my tablet, and I was returned to the homepage and received no error message on the page.
On duplicate registrations it should show you the registration-complete page as if you signed up for the first time. Can you provide more specific reproduction steps, IE the email you're using and if it is registered/activated already?
I tried it with chrismore@gmail.com and cmore@mozilla.com and took me to accounts/register page with no indication of a dup registration. One of the accounts were verified.
I think I know what is going on. It is going to accounts/register but there is no end user message indicating what is the issue or next step. This is the same issue as bug 685743. Lets get together and discuss.
Mike, was this fixed by https://github.com/mozilla/affiliates/commit/d930cf4c14a9c5cace22413893176dcd089c2b26? It seems to work for me, now, but I'd like to confirm that you landed an intended fix, since you marked it. Thanks!
OS: Mac OS X → All
Hardware: x86 → All
Yes, this was fixed. I should've updated with info that Chris' problems were related to a different bug; he was entering a password that wasn't complex enough and error messages weren't implemented yet.
Thanks -- verified FIXED. I can't reproduce bug 685972 now, either. (Tonight I signed up and logged in with my Gmail account just fine.)
Status: RESOLVED → VERIFIED
Product: Websites → Firefox Affiliates
Product: Firefox Affiliates → Firefox Affiliates Graveyard
You need to log in before you can comment on or make changes to this bug.