Allow question groups to be attached to Close Loan/Savings account workflows

Description

MFI would like to capture reasons why an account is getting closed or why a customer pre-closes their loans.

Hence, it is important to allow question groups to be allowed during the "close loan" and "close savings account" workflows.

This feature is quite important for GK.

Environment

None

Activity

Show:
Mifos Hudson Jira Plugin User
November 17, 2011, 7:25 AM

Integrated in

head-g-release-secondary #201
MIFOS-5161: Added new event sources and QG responses fetching during 'Close Loan/Savings' workflow.
MIFOS-5161: Displaying QG responses captured for 'Close' workflow.
MIFOS-5161: Fixed tests.
MIFOS-5161: Updated dbunit data sets.

Jakub Slawinski :
Files :

  • application/src/main/resources/META-INF/resources/pages/application/savings/jsp/reviewclosesavings.jsp

  • db/src/main/resources/changesets/changelog-Release_G.xml

  • application/src/main/resources/META-INF/resources/WEB-INF/accounts-struts-config.xml

  • application/src/main/java/org/mifos/accounts/savings/struts/actionforms/SavingsClosureActionForm.java

  • appdomain/src/main/java/org/mifos/security/util/ActivityMapper.java

  • application/src/main/resources/META-INF/resources/pages/accounts/jsp/change_status_preview.jsp

  • application/src/main/java/org/mifos/accounts/savings/struts/action/SavingsClosureAction.java

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

Jakub Slawinski :
Files :

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

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

  • application/src/main/resources/META-INF/resources/pages/application/savings/jsp/savingsaccountdetail.jsp

  • application/src/main/java/org/mifos/accounts/savings/struts/action/SavingsAction.java

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

  • application/src/main/resources/META-INF/resources/pages/application/loan/jsp/loanaccountdetail.jsp

Jakub Slawinski :
Files :

  • questionnaire/src/test/java/org/mifos/platform/questionnaire/service/QuestionnaireServiceIntegrationTest.java

  • questionnaire/src/test/java/org/mifos/platform/questionnaire/persistence/QuestionGroupDaoIntegrationTest.java

Jakub Slawinski :
Files :

  • acceptanceTests/src/test/resources/dataSets/SavingsDeposit_001_result_dbunit.xml

  • acceptanceTests/src/test/resources/dataSets/acceptance_medium_005_dbunit.xml

  • acceptanceTests/src/test/resources/dataSets/LoanProcessWithDifferentCurrencyTest_001_dbunit.xml

  • acceptanceTests/src/test/resources/dataSets/acceptance_small_008_dbunit.xml

  • acceptanceTests/src/test/resources/dataSets/acceptance_small_003_dbunit.xml

  • acceptanceTests/src/test/resources/dataSets/mpesa_export_dbunit.xml

  • acceptanceTests/src/test/resources/dataSets/acceptance_small_002_dbunit.xml

  • acceptanceTests/src/test/resources/dataSets/acceptance_dbunit.xml

  • acceptanceTests/src/test/resources/dataSets/ColSheetCustAcct_001_result_dbunit.xml

  • acceptanceTests/src/test/resources/dataSets/REST_API_20110912_dbunit.xml

  • acceptanceTests/src/test/resources/dataSets/acceptance_small_001_dbunit.xml

Mifos Hudson Jira Plugin User
November 17, 2011, 11:24 PM

Integrated in

head-g-release-secondary #202
FIXED MIFOS-5161: Added acceptance tests.

Jakub Slawinski :
Files :

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/savings/SavingsCloseAccountPage.java

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/questionnaire/QuestionGroupSavingsAccountTest.java

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/testhelpers/SavingsAccountHelper.java

  • db/src/test/resources/sql/acceptance_test_dump.sql

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/questionnaire/QuestionGroupLoanAccountTest.java

  • acceptanceTests/src/test/resources/dataSets/acceptance_dbunit.xml

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/questionnaire/CaptureQuestionResponse.java

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/testhelpers/QuestionGroupTestHelper.java

Jakub Sławiński
November 17, 2011, 11:28 PM

Fixed in the following commits:

  • a51b9a37055e51e307722c38bd8ba0c0ebaae0f3

  • 89cf1a56ec372bca3eb343de4f5876fbcf206ef7

  • f6c5d1dc3dca928d1b96ed6c74676e523bed9230

  • 85b916039c48a7639c81b32ba4a2c864e2ba6634

  • d0d88977a1955d164f38d67a2b498e49f5ae0b94

Mifos Hudson Jira Plugin User
November 18, 2011, 3:36 PM

Integrated in

head-master-secondary #547
FIXED MIFOS-5161: Added acceptance tests.

Jakub Slawinski :
Files :

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/testhelpers/SavingsAccountHelper.java

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/questionnaire/QuestionGroupLoanAccountTest.java

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/questionnaire/QuestionGroupSavingsAccountTest.java

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/questionnaire/CaptureQuestionResponse.java

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/testhelpers/QuestionGroupTestHelper.java

  • db/src/test/resources/sql/acceptance_test_dump.sql

  • acceptanceTests/src/test/java/org/mifos/test/acceptance/framework/savings/SavingsCloseAccountPage.java

  • acceptanceTests/src/test/resources/dataSets/acceptance_dbunit.xml

Lukasz Chudy
November 24, 2011, 9:23 AM

Verified on 24.11.2011
Guestion Groups have been properly added to Close Loan and Close Savings flows.

Assignee

Jakub Sławiński

Reporter

Binny Gopinath Sreevas

Labels

Implementation Priority

None

URL

None

Story Points

2

Team

Core

Scheduled For

Release

Epic

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Major
Configure