Can't Remove Client's Group Membership when groups doesn't have an active Loan

Description

Scenario
1-Search for a group that has no active loan
2-click on a client inside this group
3-click Edit / Remove Group membership
4-click "Click here to remove group membership"
5-Click submit to remove the client's group membership

Result
An error is displayed that this client has an active loan (check group error.jpg)

expected result
Client's group membership is removed

Workaround
what we are currently doing is moving this client to any other group by
editing the group membership and just entering any group name in the "GROUP NAME" field

after the client is moved to that group
we can easily remove the group membership

Environment

LSIM On
GLIM On
Centers Off

Activity

Show:
Kamil Kalfas
July 3, 2012, 7:21 PM
Edited

Fixed in commit: 35939d6bfee8bb91c46fd7faa339bff0d9d62dfd

Added update query that fix account_state_id from group loan accounts to correct value, depending on account_state_id from parent account.
Build number: head-i-release-commit-37

Lukasz Chudy
July 4, 2012, 12:33 PM

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

Assignee

Kamil Kalfas

Reporter

George Lteif

Labels

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure