UI - Group member count not updating correctly upon removal
Summary
When removing members from a group in its Members page, the count of the number of members is not correctly updated in the panel header ("Members with access to Group Name").
Steps to reproduce
- Navigate to the group's Members tab
- Remove a member from the group
What is the current bug behavior?
The badge representing the number of members does not change accordingly.
What is the expected correct behavior?
The badge should update to show the correct number of members.
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Redis Version: 3.2.5 Git Version: 2.11.1 Sidekiq Version:4.2.7
GitLab information Version: 9.1.1 Revision: d3123f6 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: http://gitlab.nmsu.edu HTTP Clone URL: http://gitlab.nmsu.edu/some-group/some-project.git SSH Clone URL: git@gitlab.nmsu.edu:some-group/some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 5.0.2 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Checking GitLab Shell ...
GitLab Shell version >= 5.0.2 ? ... OK (5.0.2) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 3/15 ... ok 4/16 ... ok 3/17 ... ok 3/18 ... ok 3/19 ... ok 2/21 ... ok 2/22 ... ok 2/23 ... ok 2/24 ... ok 2/25 ... ok 2/26 ... ok 2/27 ... ok 2/28 ... ok 2/29 ... ok 2/30 ... ok 2/31 ... ok 2/32 ... ok 2/33 ... ok 2/34 ... ok 2/35 ... ok 2/36 ... ok 2/37 ... ok 2/38 ... ok 2/39 ... ok 2/40 ... ok 2/41 ... ok 2/42 ... ok 2/43 ... ok 2/44 ... ok 13/45 ... ok 9/47 ... ok 2/51 ... ok 2/52 ... ok 2/56 ... ok 2/57 ... ok 2/58 ... ok 2/60 ... ok 2/61 ... ok 2/62 ... ok 17/66 ... ok 18/67 ... ok 2/79 ... ok 2/82 ... ok 2/83 ... ok 3/84 ... ok 3/86 ... ok 2/91 ... ok 2/97 ... ok 2/98 ... ok 2/99 ... ok 2/100 ... ok 2/101 ... ok 2/102 ... ok 2/103 ... ok 2/105 ... ok 2/106 ... ok 19/107 ... repository is empty 19/108 ... ok 2/109 ... ok 2/110 ... ok 13/111 ... repository is empty 18/113 ... ok 4/114 ... ok 3/115 ... ok 4/119 ... ok 2/120 ... ok 2/121 ... ok 2/122 ... ok 2/123 ... ok 3/124 ... ok 2/125 ... ok 2/127 ... ok 2/128 ... ok 12/129 ... ok 12/130 ... ok 2/132 ... repository is empty 2/133 ... ok 18/134 ... ok 2/136 ... ok 4/138 ... ok 33/139 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Access to /var/opt/gitlab/.ssh/authorized_keys: OK Send ping to redis server: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory setup correctly? ... no Try fixing it: sudo chown -R git /var/opt/gitlab/gitlab-rails/uploads sudo find /var/opt/gitlab/gitlab-rails/uploads -type f -exec chmod 0644 {} ; sudo find /var/opt/gitlab/gitlab-rails/uploads -type d -not -path /var/opt/gitlab/gitlab-rails/uploads -exec chmod 0700 {} ; For more information see: doc/install/installation.md in section "GitLab" Please fix the error above and rerun the checks. Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) projects have namespace: ... 3/15 ... yes 4/16 ... yes 3/17 ... yes 3/18 ... yes 3/19 ... yes 2/21 ... yes 2/22 ... yes 2/23 ... yes 2/24 ... yes 2/25 ... yes 2/26 ... yes 2/27 ... yes 2/28 ... yes 2/29 ... yes 2/30 ... yes 2/31 ... yes 2/32 ... yes 2/33 ... yes 2/34 ... yes 2/35 ... yes 2/36 ... yes 2/37 ... yes 2/38 ... yes 2/39 ... yes 2/40 ... yes 2/41 ... yes 2/42 ... yes 2/43 ... yes 2/44 ... yes 13/45 ... yes 9/47 ... yes 2/51 ... yes 2/52 ... yes 2/56 ... yes 2/57 ... yes 2/58 ... yes 2/60 ... yes 2/61 ... yes 2/62 ... yes 17/66 ... yes 18/67 ... yes 2/79 ... yes 2/82 ... yes 2/83 ... yes 3/84 ... yes 3/86 ... yes 2/91 ... yes 2/97 ... yes 2/98 ... yes 2/99 ... yes 2/100 ... yes 2/101 ... yes 2/102 ... yes 2/103 ... yes 2/105 ... yes 2/106 ... yes 19/107 ... yes 19/108 ... yes 2/109 ... yes 2/110 ... yes 13/111 ... yes 18/113 ... yes 4/114 ... yes 3/115 ... yes 4/119 ... yes 2/120 ... yes 2/121 ... yes 2/122 ... yes 2/123 ... yes 3/124 ... yes 2/125 ... yes 2/127 ... yes 2/128 ... yes 12/129 ... yes 12/130 ... yes 2/132 ... yes 2/133 ... yes 18/134 ... yes 2/136 ... yes 4/138 ... yes 33/139 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.1.0 ? ... yes (2.3.3) Your git bin path is "/opt/gitlab/embedded/bin/git" Git version >= 2.7.3 ? ... yes (2.11.1) Active users: 25
Checking GitLab ... Finished