- assigned_to: nobody --> fabiosuenaga
Quando insere-se um usuário com email igual de um outro usuário, este não possui uma mensagem de erro como o de nome de usuário já existente. Retornando o seguinte erro de violação:
Abort due to constraint violation
column EmailAddress is not unique
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SQLite.SQLiteException: Abort due to constraint violation
column EmailAddress is not unique
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SQLiteException (0x80004005): Abort due to constraint violation
column EmailAddress is not unique]
System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) +373
System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) +200
System.Data.SQLite.SQLiteDataReader.NextResult() +221
System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) +93
System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() +53
BlogEngine.Core.Providers.DbMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) in D:\dev\work\colaboration\guster\trunk\src\Guster.PersonalPage\BlogEngine.Core\Providers\DbMembershipProvider.cs:179
System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() +305
System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) +105
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +453
System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) +149
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +17
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746