Gitlab 8.13 broke referencing issues from other groups in commit messages
Summary
Since upgrading to Gitlab 8.13 functionality of referencing issues from other groups than the group to which the commit was made does not work.
Steps to reproduce
Create two groups A and B. In both create project hello. In project B/hello create issue Test1 with id 1. In project A/hello commit README file with commit message
B/hello#1
- Testing linking
It could be relevant that in our case project A is using Redmine as external issue tracker.
Expected behavior
- Under project A/hello commit message we want to see.
- Testing linking
- Under issue B/hello#1 we see a link referencing commit.
Actual behavior
- Under project A/hello commit message link is created to https://server/A/hello/issues/1 and we see
B/hello#1
- Testing linking
- Under project B/hello/#1 (closed) issue we see no reference to the commit.
Output of checks
Results of GitLab application Check
[root@server ~]# sudo gitlab-rake gitlab:check SANITIZE=true
Checking GitLab Shell ...
GitLab Shell version >= 3.6.6 ? ... OK (3.6.6)
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: ...
2/4 ... ok
2/8 ... ok
1/12 ... ok
2/13 ... ok
2/14 ... ok
2/16 ... ok
2/17 ... ok
20/18 ... ok
20/19 ... repository is empty
24/20 ... ok
24/22 ... ok
37/23 ... ok
39/25 ... ok
2/30 ... ok
2/31 ... ok
10/33 ... repository is empty
10/34 ... ok
24/35 ... ok
24/36 ... ok
20/38 ... repository is empty
1/39 ... ok
44/41 ... ok
20/43 ... ok
44/44 ... ok
44/45 ... ok
57/46 ... repository is empty
1/47 ... repository is empty
58/48 ... ok
58/49 ... ok
58/50 ... ok
58/51 ... ok
58/52 ... ok
2/54 ... ok
60/55 ... ok
20/56 ... ok
39/57 ... ok
1/59 ... repository is empty
20/60 ... repository is empty
64/61 ... repository is empty
65/62 ... repository is empty
65/63 ... repository is empty
65/64 ... ok
1/65 ... 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 ...
Reply by email is disabled in config/gitlab.yml
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: ...
2/4 ... yes
2/8 ... yes
1/12 ... yes
2/13 ... yes
2/14 ... yes
2/16 ... yes
2/17 ... yes
20/18 ... yes
20/19 ... yes
24/20 ... yes
24/22 ... yes
37/23 ... yes
39/25 ... yes
2/30 ... yes
2/31 ... yes
10/33 ... yes
10/34 ... yes
24/35 ... yes
24/36 ... yes
20/38 ... yes
1/39 ... yes
44/41 ... yes
20/43 ... yes
44/44 ... yes
44/45 ... yes
57/46 ... yes
1/47 ... yes
58/48 ... yes
58/49 ... yes
58/50 ... yes
58/51 ... yes
58/52 ... yes
2/54 ... yes
60/55 ... yes
20/56 ... yes
39/57 ... yes
1/59 ... yes
20/60 ... yes
64/61 ... yes
65/62 ... yes
65/63 ... yes
65/64 ... yes
1/65 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.1)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.7.4)
Active users: 44
Checking GitLab ... Finished
Results of GitLab environment info
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.3.1p112
Gem Version: 2.6.6
Bundler Version:1.13.5
Rake Version: 10.5.0
Sidekiq Version:4.2.1
GitLab information
Version: 8.13.0
Revision: 053a0a2
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://server
HTTP Clone URL: https://server/some-group/some-project.git
SSH Clone URL: git@server:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 3.6.6
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git