Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restored Group's do not Restore GroupMembers #4055

Closed
markewampler opened this issue Jan 15, 2020 · 1 comment
Closed

Restored Group's do not Restore GroupMembers #4055

markewampler opened this issue Jan 15, 2020 · 1 comment
Labels
Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Topic: Group Related to group, group members, and related blocks, etc. Type: Bug Confirmed bugs or reports that are very likely to be bugs. x-Fixed in v9.5 x-Fixed in v10.2
Milestone

Comments

@markewampler
Copy link

markewampler commented Jan 15, 2020

Description

Turn on Group History for a GroupType.

Add people to a group of that type.

Run Group History Job.

Archive the Group.
Run Group History Job.
Restore the Group.

Group is restored without any groupmembers.

Steps to Reproduce

  1. Turn on Group History for a GroupType.
  2. Add people to a group of that type.
  3. Run Group History Job.
  4. Archive the Group.
  5. Run Group History Job.
  6. Restore the Group.

Expected behavior:

My assumption would be that when the group is restored that all of the GroupMembers would be restored with it to the Role/Status they had at the time of Archiving the group.

Actual behavior:

Currently how it functions is the Group is restored and no one comes back with it. They stay as Archived GroupMembers. So you can get the data back, but lots of manual labor or a SQL update to change their status' back.

Versions

  • Rock Version: [9.2]
  • Rock Version: [10.1]
  • Client Culture Setting: [en-us]
@JimMichael
Copy link
Collaborator

JimMichael commented Jan 15, 2020

Confirmed on 10.1. What's curious is that this is listed as fixed in the 10.0 release notes:

"Updated Groups so that group members will be made inactive when the group is made inactive. Also updated groups so that group members will be archived when the group is archived. If the group is made active again, it'll also make any group members active if they were marked inactive when the group was made inactive. Fixes: #3592

@nairdo nairdo added Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Status: In Dev Queue This issue is being worked on, and has someone assigned. Topic: Group Related to group, group members, and related blocks, etc. Type: Bug Confirmed bugs or reports that are very likely to be bugs. labels Jan 15, 2020
@nairdo nairdo added x-Fixed in v9.5 and removed Status: In Dev Queue This issue is being worked on, and has someone assigned. labels Jan 15, 2020
@crayzd92 crayzd92 added this to the v10 milestone Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Topic: Group Related to group, group members, and related blocks, etc. Type: Bug Confirmed bugs or reports that are very likely to be bugs. x-Fixed in v9.5 x-Fixed in v10.2
Projects
None yet
Development

No branches or pull requests

4 participants