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

johnwoodlock commented on MIFOS-3453:
-------------------------------------

WHICH RELEASE
Turns out that this situation appears not just in current master but in 1.6 (to 
be released) & 1.5 (didn't go back further than that)

OCCURS AFTER HITTING THE SUBMIT BUTTON ON COLLECTION SHEET ENTRY
This problem doesn't arise for every error that may occur during disbursal... 
most of the disbursal validation is at the 'start' and those at the start work 
fine.  In this case the error occured when building the financial entries (at 
the end)... this failed due to gl codes not being there.  Even though the 
collection sheet recognised that an error had occured and that the 'loan 
disbursal' shouldn't be processed it did process.

It can also happen in exceptional cases for repayments.

REASON
The collection sheet save first applies a disbursal... if there are no errors 
the account is added to a list of accounts to be saved... the ones in error are 
added to a list of accounts in errors.  However, the changes are still in 
hibernate memory and are processed on commit.

I've added a hibernate command that evicts the errored accounts (meaning they 
shouldn't be there to be saved) and am testing now with 1.6.  Worked in initial 
manual test now running build.

> Collection Sheet Submit disburses loan wrongly
> ----------------------------------------------
>
>                 Key: MIFOS-3453
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3453
>             Project: mifos
>          Issue Type: Bug
>          Components: Collection Sheet Entry
>    Affects Versions: Release 1.5.1, Release 1.6.0, Release E - Iteration 3
>            Reporter: johnwoodlock
>            Assignee: johnwoodlock
>            Priority: Major
>             Fix For: Release 1.6.0, Release E - Iteration 3
>
>
> 1. Attempted to disburse a loan thru the loan details page.
> 2. The disbursal error (subsequently found because of gl code not being found 
> i.e. missing gl customisation file)
> 3. Attempted to disburse same loan thru the collection sheet page.
> 4. A message came up indication that the disbursal had not succeeded.
> 5. The loan was in fact disbursed.

-- 
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 Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to