a group transfer between branches with center hierarchy turned off can lead to clients from one group showing up in another group

Description

To reproduce:

  1. in applicationConfiguration.custom.properties turn off centers by including:
    ClientRules.CenterHierarchyExists=false

  2. for this example assume a clean database with two branches.

  3. Create "group1" in BranchA (it will have search_id=1.1)

  4. Create "group2" in BranchB (it will also have search_id=1.1)

  5. Create "client in group1" in group1

  6. From the group details page use "Edit office membership" to move group1 to BranchB (group1 search_id=1.2)

  7. Create "group3" in BranchB (it will have search_id=1.2)

  8. now "client in group1" will also show up in group3 since the search_ids for group1 and group3 are both 1.2

Environment

None

Attachments

Assignee

Van Mittal-Henkle

Reporter

Van Mittal-Henkle

Labels

URL

None

Story Points

3

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Affects versions

Priority

Major
Configure