Making WordPress.org

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#918 closed defect (bug) (fixed)

Training Group not Displayed in wp-admin or Badges

Reported by: iandunn's profile iandunn Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: Priority: normal
Component: Profiles Keywords:
Cc:

Description

When the make/Training team formed, I created a BuddyPress group for them on profiles.wordpress.org (ID 15), just like the other teams have, and then assigned its members to the group.

The team member's profiles should have automatically started showing their group's badge, but they aren't, and the group itself is not showing up in WP_List_Tables in wp-admin.

The group shows up and looks fine if you visit it directly at https://profiles.wordpress.org/wp-admin/admin.php?page=bp-groups&gid=15&action=edit

The direct reason it's not showing up is that the 3 groupmeta rows that should have been inserted during creation weren't, so the JOIN from the group to groupmeta table fails. I haven't been able to determine why they weren't inserted, though.

I tried manually inserting them, and the INSERT succeeded, but when I tried SELECTing, the new rows weren't there.

I'm not sure if it's a MySQL replication issue, or a caching bug, or something else.

Previous discussions:

Change History (7)

This ticket was mentioned in Slack in #outreach by iandunn. View the logs.


10 years ago

#2 @iandunn
10 years ago

  • Owner set to johnjamesjacoby
  • Status changed from new to assigned

#3 @johnjamesjacoby
10 years ago

Started looking at this today, and fell down a related rabbit-hole: https://buddypress.trac.wordpress.org/ticket/6277

Will pick this back up where I left off asap.

#4 @samuelsidler
10 years ago

Possibly related... When I add users to groups, the count doesn't go up on page=bp-groups. But that's been happening for some time; I was just reminded of it today.

This ticket was mentioned in Slack in #meta by coffee2code. View the logs.


10 years ago

#6 @coffee2code
10 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 1415:

Profiles Association Handler: Also change the groups meta table name via 'bp_groups_meta_tables' filter.

Fixes #918.
Props ocean90.

#7 @coffee2code
10 years ago

@samuelsidler: The fix for this also fixes the non-incrementing member counts. The counts themselves aren't updated until it gets recounted (such as when a person is added or removed). They could be forced refreshed, but I didn't think their temporary inaccuracy is a big deal.

Note: See TracTickets for help on using tickets.