Cannot promote label marked as prioritized
Summary
Once a label is flagged as prioritized, cannot promote to group label.
Steps to reproduce
- Create label in project in the Manage Labels page.
- Star it so that it is a prioritized label. It will now appear in the top section.
- Click the little arrow button to promote it to a group label.
What is the current bug behavior?
Nothing happens. Middle clicking the arrow button to open in a new tab reveals a page with a 404 error (my URL is: https://gitlab.xxx.xxx/GROUP/PROJECT/labels/52/promote).
What is the expected correct behavior?
Label is promoted to group label without error.
Results of GitLab environment info
GitLab information Version: 9.1.0 Revision: c3f0f143 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://gitlab.xxx.xxx HTTP Clone URL: https://gitlab.xxx.xxx/some-group/some-project.git SSH Clone URL: git@gitlab.xxx.xxx: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
</details>
#### Results of GitLab application Check
<details>
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: ... 19/99 ... ok 20/101 ... ok 20/102 ... ok 20/103 ... ok 20/104 ... ok 20/105 ... ok 21/106 ... ok 21/108 ... ok 21/109 ... ok 21/110 ... ok 21/112 ... ok 21/114 ... ok 21/115 ... ok 21/117 ... ok 19/118 ... ok 21/119 ... ok 21/120 ... ok 21/121 ... ok 7/122 ... ok 21/123 ... ok 21/124 ... repository is empty 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 ...
IMAP server credentials are correct? ... yes Init.d configured correctly? ... skipped (omnibus-gitlab has no init script) MailRoom running? ... can't check because of previous errors
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? ... 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: ... 19/99 ... yes 20/101 ... yes 20/102 ... yes 20/103 ... yes 20/104 ... yes 20/105 ... yes 21/106 ... yes 21/108 ... yes 21/109 ... yes 21/110 ... yes 21/112 ... yes 21/114 ... yes 21/115 ... yes 21/117 ... yes 19/118 ... yes 21/119 ... yes 21/120 ... yes 21/121 ... yes 7/122 ... yes 21/123 ... yes 21/124 ... 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: 8
</details>