+newaccount causes OOPS
Bug #334967 reported by
Brad Crittenden
This bug report is a duplicate of:
Bug #128584: Setting a team contact address and registering for a new launchpad account using the same email crash.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Guilherme Salgado |
Bug Description
An OOPS was generated when a user tried to claim a token to create a new account.
OOPS-1153E919
An email address exists for the user but person.account is None which causes an error. The code as written is not defensive at all.
This is a race condition, and very unlikely to happen. To reproduce you have to start the registration process in LP using a given (not taken) email address, then before completing that registration you add that same email address to a team. Then when you follow the link to finish the registration process you'll get that failure.
I think Salgado is working in related and may have some insight into this issue. We certainly want to fix this, and I hope the Account/Person separation work will do it.