Exception after trying to transfer group between branches when center hierarchy is turned off

Description

Repro:
1. In applicationConfiguration.custom.properties turn off centers by including:
ClientRules.CenterHierarchyExists=false.
2. Create a new Group.
3. Go to Group details page.
3. From the Group details page use "Edit office membership" to move Group to another Branch.

Expected result:
Group can be successfully moved to another Branch.

Actual result:
Page with stack trace appears (see attached file: error.txt).

Environment

None

Activity

Show:
Mifos Hudson Jira Plugin User
December 19, 2011, 10:52 PM

Integrated in

head-g-release-secondary #290
FIXED MIFOS-5322: Allowed access to entities without assigned personnel.

Jakub Slawinski :
Files :

  • appdomain/src/main/java/org/mifos/security/rolesandpermission/persistence/LegacyRolesPermissionsDao.java

Jakub Sławiński
December 20, 2011, 6:26 AM

Fixed in commit f0899d9aff5445c4e71efa343f23e3a4caf894d3

Lukasz Chudy
December 20, 2011, 1:21 PM

Verified on 20.12.2011
Bug has been fixed properly.

Mifos Hudson Jira Plugin User
December 23, 2011, 9:58 AM

Integrated in

head-master-secondary #578
FIXED MIFOS-5322: Allowed access to entities without assigned personnel.

Jakub Slawinski :
Files :

  • appdomain/src/main/java/org/mifos/security/rolesandpermission/persistence/LegacyRolesPermissionsDao.java

Fixed

Assignee

Jakub Sławiński

Reporter

Lukasz Chudy

Labels

None

URL

None

Story Points

0

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Major
Configure