Can't Apply Payments to Group Loans that were disbursed in versions prior to 2.4.0 and 2.3

Description

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

scenario:
1-go to an active group loan (created in versions prior to 2.3)
2-Apply payment

result
you cannot continue with the payment
a red dot is displayed and not errors are thrown at the log

expected result
successful payment applied

Workaround
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)

Environment

LSIM is on
GLim is on
Centers are off

Assignee

Michał Dudziński

Reporter

George Lteif

Labels

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Fix versions

Affects versions

Priority

Major
Configure