Incorrect error message during client creation when combination of the specified Date of Birth and name already exists in the application

Description

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."

Environment

None

Activity

Show:
Mifos Hudson Jira Plugin User
September 27, 2011, 2:39 PM

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

Jakub Sławiński
September 27, 2011, 2:44 PM

Fixed in commit 16a7563efd0b01ef38005420e33fdaef84b64c24.

Lukasz Chudy
October 4, 2011, 3:03 PM

Verified on 04.10.2011
Bug has been fixed properly.

Mifos Hudson Jira Plugin User
October 6, 2011, 5:34 PM

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

Assignee

Jakub Sławiński

Reporter

Lukasz Chudy

Labels

None

URL

None

Story Points

0.5

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure