When you register users on ThePhile web app it seems its more than ok to have duplicate entries. I can for example enter the same user details over and over again and the app will keep on accepting it and put it into the database. So its more than alright to have many users with the same Email address, First name, last name, etc, etc.
There is a piece of code in the new.aspx.
vb file which goes as follows:
If creationResult = CInt( _
Wrox.WebModules.Accounts.ProcResultCodes.AccountAl readyOnFile) Then
CreateError.Text = _
"<br/>An account with that e-mail address is already on file.<br/>"
CreateError.Visible = True
'---- etc etc
However this is never triggered. The primary key for the Users table is an integer which is an identity. If this were violeted (A situation which i think would be impossible considering that the database puts this value in itself and not the registering user) Then you would get an error for duplicate records which is handled in ThePhile code.
I can overcome this problem myself by simply adding in another function which would check to see if the regstering users email address already exists in the database and if so then supply the error that the email address is already in use on this site.
So i was just wondering whats the go? Is this a mistake? a bug? a forgotten method that was never written?