Skip to:

Opened 14 years ago

Closed 13 years ago

#1975 closed defect (bug) (fixed)

Wrong number of group members

Reported by: sicksight's profile SickSight Owned by:
Milestone: 1.5 Priority: major
Severity: Version:
Component: Core Keywords: needs-patch, reporter-feedback


Change History (6)

#1 @r-a-y
14 years ago

Could be a person marked as a spammer that's causing the member count to be askew?

#2 @helpy
14 years ago

I have a similar problem! A user was deleted, but the member count in the groups are not updated!

On /groups/[group-name]/members/ the tab "members (member count)" shows the wrong memeber count. But the text "Viewing members 1 to X (of Y members)" shows the right member count!

#3 @cnorris23
14 years ago

  • Keywords needs-patch added

#4 @r-a-y
14 years ago

  • Component set to Core
  • Keywords reporter-feedback added

Is this still valid? There were some fixes for this in BP 1.2.5.

#5 @boonebgorges
13 years ago

I just did some tests against the latest trunk: 1) deleting users as the admin, 2) users self-deleting, 3) marking users as spammers. (1) and (2) adjust the member count correctly. (3) does not.

After some tracing through mark-as-spam routine, I noticed that the make_spam_user hook (which triggers the BP data deletion process) only exists if you've got MU/MS activated. So on single installations, marking a user as spam didn't delete data.

I'm committing a patch that fixes this with a custom hook. I'll mark this ticket as fixed, under the assumption that this does fix the problem. Please reopen the ticket if the problem still arises.

#6 @boonebgorges
13 years ago

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

(In [3434]) Fires custom BP hook when user is marked as spam, in order to account for instances where Network is not enabled. Fixes #1975

Note: See TracTickets for help on using tickets.