launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #00353
Re: EmailAddressAlreadyTaken: account and person split
On Tue, Aug 11, 2009 at 12:57:28PM -0300, Guilherme Salgado wrote:
> Another (simpler) option is to abuse the fact that the Person and
> Account tables are not linked by foreign keys and create the Person
> entry when needed but not link it to the existing Account. That way,
> everything would just magically work as the Person would seem to have no
> account. The only thing we'd have to do is change the registration/login
> (maybe reset password too) process to link the Person to the Account
> when they are not linked. Of course, by doing that we would also be
> hiding any bugs that might cause associated Person/Account entries to
> not be linked when they should.
I kind of like this if it is easy; you're right that there's this gap,
but I feel that it's one which we can explicitly test for. Have there
been bugs of the sort you are suggesting above?
--
Christian Robottom Reis | [+55 16] 3376 0125 | http://launchpad.net/~kiko
| [+55 16] 9112 6430 | http://async.com.br/~kiko
Follow ups
References