Project

General

Profile

Actions

Bug #5881

closed

shown "Request membership" button when admin/creator of group

Added by Matt Gold over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Groups (misc)
Target version:
Start date:
2016-08-08
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Hi Boone,

Not sure what is going on, but I'm seeing the "request membership" button for a group I created and that I'm an admin of. Please see the attached screenshot.


Files

Actions #1

Updated by Boone Gorges over 7 years ago

  • Status changed from Assigned to Resolved
  • Target version set to 1.9.22

This is due to an incompatibility between the way that our Group for Group Admins auto-add feature works, and the new group-membership caching layer introduced in BP 2.6. Briefly: when creating a new group, the creator's membership ID cache was being invalidated; then the GFGA tool was running, and populated the cache before the creator's membership in the new group had been saved into the database. As such, the user's membership cache did not contain the just-created group. I've fixed this by moving the GFGA population routine until after new memberships are saved to the DB: https://github.com/cuny-academic-commons/cac/commit/4174cb85813da6b042aa981b8a8141ea7a944147

Actions #2

Updated by Matt Gold over 7 years ago

Thanks, Boone!

Actions #3

Updated by Boone Gorges over 7 years ago

  • Target version changed from 1.9.22 to 1.9.24
Actions

Also available in: Atom PDF