In versions prior to 2.3 and 2.4
the account_state_id for individual clients where not updated when disbursal of a group loan
if you disburse a loan in versions prior to 2.3.0, the group account state id is changed to 5 (active in good standing)
but the group clients inside that group keep the state of 2 (pending for approval) and are not udpated
in versions 2.3 and 2.4 this bug has been fixed
So if you try applying a payment to old loans, you cannot proceed
1-go to an active group loan (created in versions prior to 2.3)
you cannot continue with the payment
a red dot is displayed and not errors are thrown at the log
successful payment applied
Issue an update query to all group client accounts and update their account_state_id to either 5 or 9 (depending on the parent account)
LSIM is on
GLim is on
Centers are off
I've added workaround update query. It should fix account_state_id from group loan accounts to correct value, depending on account_state_id from parent account.
This is my proposition for solution, but there is need to test it. Łukasz, could You check if my fix doesn't have any negative impact on other parts of mifos?
Bug has been fixed properly but this update query should be moved to the database changesets for Vinolia I.
Added update query to changeset for Vinolia I in commit a3de34e262d2d1a7c3ac18d5940eeee12cfe90c2.
Build Number: head-i-release-commit-31
Bug has been fixed properly.
This fix works only after running contract_db.sh upgrade script on database.
Build Date: Tue Jul 03 10:20:43 PDT 2012
Build Number: hudson-head-i-release-archive-30