[ 
http://mifosforge.jira.com/browse/MIFOS-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59493#action_59493
 ] 

Mifos Hudson Jira Plugin User commented on MIFOS-3479:
------------------------------------------------------

Integrated in !http://ci.mifos.org/hudson/images/16x16/yellow.gif! [head-master 
#1771|http://ci.mifos.org/hudson/job/head-master/1771/]
     WIP MIFOS-3479 account_state_change_history and account tables not 
correctly updated when loan adjustments are made

John Woodlock : 
[0e1d80d0c2c0950c3b04592766742afa350d72c5|http://mifos.git.sourceforge.net/git/gitweb.cgi?p=mifos/head&a=commit&h=0e1d80d0c2c0950c3b04592766742afa350d72c5]
Files : 
* application/src/main/java/org/mifos/accounts/loan/business/LoanBO.java
* testFramework/src/main/java/org/mifos/test/framework/util/DatabaseCleaner.java
* 
application/src/test/java/org/mifos/accounts/loan/business/LoanAdjustmentsIntegrationTest.java
* 
application/src/test/java/org/mifos/accounts/loan/business/LoanAdjustmentWhenCompletedIntegrationTest.java


> account_state_change_history and account tables not correctly updated when 
> loan adjustments are made
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MIFOS-3479
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3479
>             Project: mifos
>          Issue Type: Bug
>    Affects Versions: Release 1.5.1
>            Reporter: Sam Birney
>            Assignee: Kay Chau
>            Priority: Major
>
> To repro:
> 1) make a repayment to close a loan
> 2) see that in the database there is a row showing the account has changed to 
> closed_obligation_met in the account_status_change_history table, and the 
> close_date of the account table for the loan has been set.
> 3) now apply an adjustment to the loan, removing the last payment, which 
> makes the loan open again.
> 4) see that in the database the close_date and account_status_change_history 
> tables have not been updated to reflect the adjustment
> expected behavior:
> the account_status_change_history and account tables should not show that 
> this loan is closed.
> this bug makes it hard (or impossible?) to accurately get a historical count 
> of active loans for a date in the past, which is very important to know for 
> the business owners of an MFI.
> open question:
> should the close_date of the loan reflect the payment date or the action_date 
> for the payment that closed the loan?  It seems to currently show the 
> action_date, but would payment_date make more sense when a backdated 
> transaction is entered?  
> For business purposes, the loan was closed when the final payment was made, 
> not when the data was entered.  If the PMs agree the close_date should be the 
> payment_date and not the action_date, perhaps we should enter a separate bug 
> for that?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to