Author: ruchith
Date: Mon Dec 3 05:13:13 2007
New Revision: 10434
Log:
Fixed an issue in error reporting
Modified:
trunk/solutions/identity/modules/user-ui/src/main/java/org/wso2/solutions/identity/user/ui/action/UserRegistrationFormSubmitAction.java
Modified:
trunk/solutions/identity/modules/user-ui/src/main/java/org/wso2/solutions/identity/user/ui/action/UserRegistrationFormSubmitAction.java
==============================================================================
---
trunk/solutions/identity/modules/user-ui/src/main/java/org/wso2/solutions/identity/user/ui/action/UserRegistrationFormSubmitAction.java
(original)
+++
trunk/solutions/identity/modules/user-ui/src/main/java/org/wso2/solutions/identity/user/ui/action/UserRegistrationFormSubmitAction.java
Mon Dec 3 05:13:13 2007
@@ -50,8 +50,7 @@
//Right now we cannot check whether a given user exists
//therefore at this point we have to set the error msg
//based on the exception
- String errorMessage = this.username + ", " +
getText("sign_in_user_exist");
- this.addErrorMessage(errorMessage);
+ this.addErrorMessage(getText("sign_in_user_exist", new String[]
{this.username}));
return ERROR;
}
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev