Skip to content

Cannot un-select group/project Admin Area > Settings > Templates page

Summary

Once selected, you cannot un-select group/project in Admin Area > Settings > Templates dropdown menus.

Steps to reproduce

  • On your GitLab instance, open Admin Area > Settings > Templates.
  • Select a project in Select a template repository dropdown and click Save changes.
  • Select a group in Custom project templates dropdown and click Save changes.

What is the current bug behavior?

Once a group/project is selected, you cannot un-select them, you will have to specify some group/project in the dropdown menus.

What is the expected correct behavior?

It should be possible to un-select group/project and make the dropdowns empty.

Relevant logs and/or screenshots

templates_dropdown

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

System information
System:     Ubuntu 16.04
Proxy:      no
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.26.2
Sidekiq Version:5.2.7
Go Version: unknown

GitLab information
Version:    13.0.6-ee
Revision:   4c8f8b0d9ee
Directory:  /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 11.7
URL:        https://gitlabhost.tld
HTTP Clone URL: https://gitlabhost.tld/some-group/some-project.git
SSH Clone URL:  git@gitlabhost.tld:some-group/some-project.git
Elasticsearch:  no
Geo:        no
Using LDAP: no
Using Omniauth: yes
Omniauth Providers:

GitLab Shell
Version:    13.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

Possible fixes

n/a