Misleading error message when disbursing 2nd loan for the same product (1st loan is still active)

Description

A member has an active loan of the "IGL" product.
Create a second loan for the same product and then try to disburse the loan.
The error message displayed is "Disbursal Failed. This loan may have been disbursed elsewhere".

In 2.1, the error message for the same scenario is "This loan cannot be disbursed because the customer has other active loans for the same product."

Environment

Mifos 2.1.1 deployed in Light Cloud Test instance

Activity

Show:
emilytucker
September 14, 2011, 4:27 PM

Yes, it is a duplicate.

Error message should read (for this and 4630):
This loan cannot be disbursed because the customer already has an active loan for this loan product."

Mifos Hudson Jira Plugin User
September 26, 2011, 4:01 PM

Integrated in

head-g-release-secondary #144
FIXED MIFOS-5005: Added a workaround to handle AccountException during loan disbursal.

Jakub Slawinski :
Files :

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/loan/CreateClientLoanAccountTest.java

  • application/src/main/java/org/mifos/accounts/loan/struts/action/LoanDisbursementAction.java

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/loan/DisburseLoanConfirmationPage.java

  • application/src/main/resources/org/mifos/config/localizedResources/LoanUIResources.properties

Jakub Sławiński
September 26, 2011, 7:13 PM

Fixed in commit 8b4a863489a0d93e2da0958927fb3f101fdaaa57.

Mifos Hudson Jira Plugin User
September 27, 2011, 9:43 AM

Integrated in

head-master-secondary #511
FIXED MIFOS-5005: Added a workaround to handle AccountException during loan disbursal.

Jakub Slawinski :
Files :

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/loan/DisburseLoanConfirmationPage.java

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/loan/CreateClientLoanAccountTest.java

  • application/src/main/resources/org/mifos/config/localizedResources/LoanUIResources.properties

  • application/src/main/java/org/mifos/accounts/loan/struts/action/LoanDisbursementAction.java

Lukasz Chudy
October 5, 2011, 2:40 PM

Verified on 05.10.2011
Bug has been fixed properly.

Assignee

Jakub Sławiński

Reporter

Binny Gopinath Sreevas

Labels

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