[ 
https://issues.apache.org/jira/browse/FINERACT-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15827617#comment-15827617
 ] 

Shaik Nazeer Hussain commented on FINERACT-16:
----------------------------------------------

Before approval, there is no option to close the loan. User has the option to 
delete the loan.
While deleting the loan, we are not deleting the existing accountAssociations. 
This is causing DataIntegrityVoilation.

> Cannot close Savings Account when linked to a loan even when loan status is 
> closed
> ----------------------------------------------------------------------------------
>
>                 Key: FINERACT-16
>                 URL: https://issues.apache.org/jira/browse/FINERACT-16
>             Project: Apache Fineract
>          Issue Type: Bug
>          Components: Savings
>            Reporter: Dayna Harp
>            Assignee: Markus Geiss
>            Priority: Critical
>              Labels: p1
>
> https://mifosforge.jira.com/browse/MIFOSX-2293
> 1. Create and activate a client 
> 2. Create and activated a savings account for the client, deposit some amount 
> in the account
> 3. Link the above savings account to a new loan application and  Submit the 
> loan application, Don't approve, it close the loan.
> 4. Try to close the above savings account and check the Withdraw Balance
> _Error
> Closing savings account with id:11 is not allowed, since it is linked with 
> one of the active loans_
> The same error is got if even the loan account is paid all and closed.
> I think the cause is, when a loan account is closed, withdrawn, or rejected 
> the linked savings account remains linked.to the loan account hence this 
> error.
> This is very critical barrier



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to