Bulk adding members to a group is broken


#1

I’ve come across a bug with bulk adding members to a custom group. I can repro it on try.

Repro steps:

  1. Create a new custom group
  2. Bulk add (58)users to group using username
  3. The upload appears to work: Demo

But group appears to have (and acts as if it has) no members

Manually joining the group causes this to happen:

But leaving then causes this:

I thought it was related to this but it’s not just the count – the functionality (i.e. tagging the group) doesn’t work.


(Jeff Atwood) #2

Hmm can you take a look @techAPJ and see if you can repro too?


(Arpit Jalan) #4

This is indeed because we do not update group user count when bulk adding users. The count is updated every 12 hours in EnsureDbConsistency job.

Does that mean mentioning the group in topics/posts is broken? It is working for me on try for that group.


#5

Is it actually working though? I get this (and it’s the same on my other site even after 24 hours and the count has updated):


(Arpit Jalan) #6

Interesting, this might be a regression in mentioning groups. I’ll look into it today.


(Arpit Jalan) #7

The mention notifications were getting sent, but looking at that warning I agree that this looks very confusing to end user.

I added the code to update group user count when bulk adding users to a group.


(Arpit Jalan) #8