bug : archived project with issues assigned still count on navbar
Summary
Steps to reproduce
- create project
- create issues and assign to current user
- archive project
- navbar still count the issues
Example Project
What is the current bug behavior?
archived project with issues assigned still count on navbar
What is the expected correct behavior?
assigned issues from archived project should not be count in navbar
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
root@XXXXX ~ $ dpkg -l | grep gitlab ii gitlab-ce 13.3.5-ce.0 amd64 GitLab Community Edition (including NGINX, Postgres, Redis) ii gitlab-runner 13.3.1 amd64 GitLab Runner root@XXXXX ~ $ gitlab-rake gitlab:env:info System information System: Ubuntu 16.04 Current User: git Using RVM: no Ruby Version: 2.6.6p146 Gem Version: 2.7.10 Bundler Version:1.17.3 Rake Version: 12.3.3 Redis Version: 5.0.9 Git Version: 2.28.0 Sidekiq Version:5.2.9 Go Version: unknown GitLab information Version: 13.3.5 Revision: 467cb4161ad Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 11.7 URL: https://gitlab.divioseo.fr HTTP Clone URL: https://gitlab.divioseo.fr/some-group/some-project.git SSH Clone URL: git@gitlab.divioseo.fr:some-group/some-project.git Using LDAP: no Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 13.6.0 Repository storage paths: - default: /var/opt/gitlab/git-data/repositories GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Git: /opt/gitlab/embedded/bin/git root@XXXXX ~ $ (For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) NV=production`)
Results of GitLab application Check
after archiving project, navbar still count and display issues assigned to users from archived project
sudo gitlab-rake gitlab:check SANITIZE=true)root@XXXXXXXXXX ~ $ gitlab-rake gitlab:check SANITIZE=true Checking GitLab subtasks ...
Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 13.6.0 ? ... OK (13.6.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Reply by email is disabled in config/gitlab.yml
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab App ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes 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: ... 5/2 ... yes 5/3 ... yes 5/4 ... yes 6/5 ... yes 6/6 ... yes 7/7 ... yes 7/8 ... yes 7/9 ... yes 8/12 ... yes 4/15 ... yes 10/16 ... yes 10/17 ... yes 11/18 ... yes 12/23 ... yes 3/25 ... yes 16/28 ... yes 17/29 ... yes 19/33 ... yes 19/34 ... yes 19/35 ... yes 19/36 ... yes 19/37 ... yes 19/38 ... yes 19/39 ... yes 19/40 ... yes 19/41 ... yes 19/42 ... yes 1/43 ... yes 17/44 ... yes 17/45 ... yes 20/46 ... yes 11/47 ... yes 11/48 ... yes 11/49 ... yes 4/51 ... yes 10/52 ... yes 4/53 ... yes 21/54 ... yes 4/55 ... yes 11/57 ... yes 22/58 ... yes 11/62 ... yes 11/63 ... yes 3/64 ... yes 3/65 ... yes 3/73 ... yes 12/74 ... yes 12/75 ... yes 12/76 ... yes 26/77 ... yes 26/78 ... yes 26/83 ... yes 33/85 ... yes 26/86 ... yes 33/87 ... yes 14/88 ... yes 26/89 ... yes 14/91 ... yes 37/92 ... yes 4/93 ... yes 4/94 ... yes 44/95 ... yes 4/96 ... yes 4/97 ... yes 3/99 ... yes 37/100 ... yes 4/101 ... yes 37/102 ... yes 52/103 ... yes 37/104 ... yes 33/106 ... yes 55/108 ... yes 57/109 ... yes 57/110 ... yes 80/111 ... yes 59/112 ... yes 4/113 ... yes 63/116 ... yes 33/117 ... yes 14/119 ... yes 37/120 ... yes 37/122 ... yes 26/123 ... yes 34/125 ... yes 34/126 ... yes 34/127 ... yes 2/128 ... yes 67/129 ... yes 33/130 ... yes 37/133 ... yes 76/136 ... yes 76/137 ... yes 78/138 ... yes 70/139 ... yes 37/140 ... yes 85/141 ... yes 80/142 ... yes 14/143 ... yes 89/144 ... yes 38/145 ... yes 61/146 ... yes 70/147 ... yes 90/148 ... yes 93/149 ... yes 14/150 ... yes 96/151 ... yes 14/152 ... yes 51/154 ... yes 40/156 ... yes 78/157 ... yes 1/158 ... yes 14/161 ... yes 14/162 ... yes 3/163 ... yes 101/164 ... yes 102/166 ... yes 2/167 ... yes 3/170 ... yes 3/171 ... yes 3/172 ... yes 106/173 ... yes 33/174 ... yes 108/176 ... yes 105/178 ... yes 109/179 ... yes 110/180 ... yes 111/181 ... yes 112/182 ... yes 114/183 ... yes 70/184 ... yes 115/185 ... yes 116/186 ... yes 120/188 ... yes 105/189 ... yes 3/190 ... yes 4/191 ... yes 2/192 ... yes 121/193 ... yes 3/194 ... yes 80/195 ... yes 80/196 ... yes 3/197 ... yes 124/198 ... yes 3/199 ... yes 126/200 ... yes 127/201 ... yes 127/202 ... yes 101/204 ... yes 130/205 ... yes 134/206 ... yes 127/207 ... yes 147/208 ... yes 150/209 ... yes 153/210 ... yes 155/211 ... yes Redis version >= 4.0.0? ... yes Ruby version >= 2.5.3 ? ... yes (2.6.6) Git version >= 2.24.0 ? ... yes (2.28.0) Git user has default SSH configuration? ... yes Active users: ... 63 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... no Try fixing it: Please migrate all projects to hashed storage as legacy storage is deprecated in 13.0 and support will be removed in 14.0. For more information see: doc/administration/repository_storage_types.md
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished
