Frequently visited projects which not more exists

Summary

Frequently visited projects overview contains not more existing projects.

Steps to reproduce

  1. Remove one of frequently visited projects
  2. Navigate to Projects drop down

What is the current bug behavior?

You will see there the just deleted project without Icon - see the attached example screenshot of the behavior.

What is the expected correct behavior?

The just deleted project should not be visited there, because it was deleted.

Relevant logs and/or screenshots

Screenshot_2019-11-14_at_11.00.09

Output of checks

This happens on a self hosted instance.

Results of GitLab environment info

Expand for output related to GitLab environment info

ystem information System: Current User: git Using RVM: no Ruby Version: 2.6.3p62 Gem Version: 2.7.9 Bundler Version:1.17.3 Rake Version: 12.3.3 Redis Version: 3.2.12 Git Version: 2.22.0 Sidekiq Version:5.2.7 Go Version: unknown

GitLab information Version: 12.4.2 Revision: 393a5bdafa2 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 10.9 URL: https://git.example.com HTTP Clone URL: https://git.example.com/some-group/some-project.git SSH Clone URL: git@git.example.com:some-group/some-project.git Using LDAP: yes Using Omniauth: yes Omniauth Providers:

GitLab Shell Version: 10.2.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
Assignee Loading
Time tracking Loading