Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: The number of members of a role group is not always displayed correctly. #5995

Open
2 tasks done
meffj00 opened this issue Mar 7, 2024 · 3 comments
Open
2 tasks done

Comments

@meffj00
Copy link

meffj00 commented Mar 7, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

The number of members of a role group is not always displayed correctly.

Steps to reproduce?

  1. Log in as Administrator
  2. Goto the admin Personabar and select Roles
  3. The number of members of a role group is not always displayed correctly.

Current Behavior

The number of members of a role group should be always displayed correctly.

Expected Behavior

The number of members of a role group should be always correctly.

Relevant log output

No response

Anything else?

No response

Affected Versions

9.13.2 (latest release)

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Code of Conduct

  • I agree to follow this project's Code of Conduct
@aspelt
Copy link

aspelt commented Apr 11, 2024

I think this is the actual situation:

  • When a user is deleted (but exsiting in the basket), he is still member of the group and counted. You can say that this is Correct because the user is visible in the Grouplist too.
  • When the membership is expired (end date), the user is even listed but NOT counted anymore.

==> Only active members are counted, but there is some inconsitency. If you do not count expired accounts, than you should also not count the 'soft deleted' users.

So, it is nog a bug, but an inconsitency. It can be solved:

  • explane the count column (users = active users) AND change code so it do not count deleted users (and not expired users).

@meffj00
Copy link
Author

meffj00 commented Apr 16, 2024 via email

@aspelt
Copy link

aspelt commented Apr 17, 2024

I think we talk about the same. I did some research/testing to find out the cause of the problem. The issue is that not all Members in a role are counted. The cause is that expired memberships are not counted but still listed. In my opinion that explains the difference.

A very Dutch 'groet',

Ad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants