Incorrect error message appears during client creation when combination of the specified Date of Birth and name already exists in the application
Repro:
1. Login to Mifos.
2. Go to 'Clients & accounts' tab and click on 'Create new Client' link.
3. Select any Group.
4. On 'Enter personal information' page, fill all necessary fields and enter the same name and date of birth as client who already exists in Mifos.
5. Click preview button.
6. Click submit button.
Expected result:
Appropriate error messages appear.
Actual result:
Incorrect error message appears:
"The combination of the specified Date of Birth and name {0} already exists in the application. Please specify a different name."
Integrated in
head-g-release-secondary #147
FIXED MIFOS-5032: Extended BusinessRuleException to support message values.
Jakub Slawinski :
Files :
appdomain/src/main/java/org/mifos/application/servicefacade/ClientServiceFacadeWebTier.java
acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/client/CreateClientPreviewDataPage.java
common/src/main/java/org/mifos/service/BusinessRuleException.java
acceptanceTests/src/test/java/org/mifos/test/acceptance/client/ClientTest.java
acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/testhelpers/NavigationHelper.java
Fixed in commit 16a7563efd0b01ef38005420e33fdaef84b64c24.
Verified on 04.10.2011
Bug has been fixed properly.
Integrated in
head-master-secondary #512
FIXED MIFOS-5032: Extended BusinessRuleException to support message values.
Jakub Slawinski :
Files :
common/src/main/java/org/mifos/service/BusinessRuleException.java
acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/testhelpers/NavigationHelper.java
acceptanceTests/src/test/java/org/mifos/test/acceptance/client/ClientTest.java
acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/client/CreateClientPreviewDataPage.java
appdomain/src/main/java/org/mifos/application/servicefacade/ClientServiceFacadeWebTier.java