When rolling back OG memberships the actual user memberships to groups to not get rolled back.

The problem is with og_ungroup() function which requires the third parameter to be an entity but in og.inc the MigrateDestinationOGMembership::rollback() passes an integer instead.

Comments

fluffy’s picture

Patch to fix, also I had to use destid1 and destid2 instead of gid and uid, not sure why.

fluffy’s picture

Status: Active » Needs review
fluffy’s picture

Issue summary: View changes

spelling

fluffy’s picture

Issue summary: View changes

spelling

mikeryan’s picture

Status: Needs review » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

spelling