EmailAddressAlreadyTaken when logging in with an email address that's associated with a different OpenID identifier

Bug #556594 reported by Guilherme Salgado
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Guilherme Salgado

Bug Description

As seen on OOPS-1556K2375, the user tried to login but LP didn't have that identifier registered so it tried to create a new Account/EmailAddress using that identifier. The problem, though, is that the email address associated to that identifier was already registered in Launchpad, so the user got the OOPS.

I'm tempted to just change the identifier associated with the registered email address to match the one given by the OP, but we should first confirm that no RPs are using these identifiers instead of the human-readable ones (https://launchpad.net/~user).

Related branches

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

We cannot confirm that RPs have used these identifiers. That is information that the OP has, not us.

And in the end, we don't really care. We trust the OP, so if the OP comes back and says that the user has identifier XXYYZZ and that their email address is <email address hidden>, we should:

a) create an account for that identifier, if it doesn't exist
b) create the <email address hidden> email address, if it doesn't exist

But if the email address already exist, we should simply link the account to the person record owning the email address.

affects: blueprint → launchpad-foundations
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in launchpad-foundations:
milestone: none → 10.04
tags: added: qa-needstesting
tags: added: qa-untestable
removed: qa-needstesting
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.