[9.4] Can't save project settings when using the docker registry and subgroups.
Summary
When you have docker images pushed to the gitlab registry you can't save the projects settings. This happens when you have a project in the subgroup.
Gitlab thinks that you try to rename the project, and returns the following error message: "Cannot rename project because it contains container registry tags"
We have to rollback to the 9.3 because this is a critical bug for us.
Steps to reproduce
- Create a new project in a subgroup and push a container tag to the registery
- Try to save the project settings without changes
What is the current bug behavior?
Error message that the project cannot be renamed
What is the expected correct behavior?
Successfully save the project
Results of GitLab environment info
System information
System: Ubuntu 16.04
Proxy: no
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.13.0
Sidekiq Version:5.0.0
Go Version: unknown
GitLab information
Version: 9.4.0-ee
Revision: 1cfb4f1
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
DB Version: 9.6.3
URL: https://gitlab.reports.nl
HTTP Clone URL: https://gitlab.reports.nl/some-group/some-project.git
SSH Clone URL: git@gitlab.reports.nl:some-group/some-project.git
Elasticsearch: no
Geo: no
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 5.3.1
Repository storage paths:
- default: /mnt/git_repos/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
All ok
Edited by Sander Visser