[buddypress-trac] [BuddyPress Trac] #9000: Group member object cache not refreshed after removal

buddypress-trac noreply at wordpress.org
Fri Oct 6 06:07:23 UTC 2023


#9000: Group member object cache not refreshed after removal
--------------------------+---------------------
 Reporter:  iandunn       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  12.0.0
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by imath):

 This is really weird, according to unit tests ^^ cache seems to be
 cleared.

 If this is specific to memcached, could you also test when a member leaves
 the group ? I'm afraid as the fired hook in this case is different
 `groups_leave_group()` or `BP_Groups_Member::delete()` might also miss
 clearing memcached cache.

 @espellcaste do the "leave" command is missing in
 https://github.com/buddypress/wp-cli-buddypress/blob/master/src/group-
 member.php ?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9000#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list