Expand sections issue in repository settings

Summary

If you click anywhere in the repository settings of a project the section "Mirror a repository" gets expanded.

For our company this bug has appeared in 10.6.0-ee (ea9f9c54), 11.4.5-ee (bf6db469) and now in 11.5.1-ee (cab68f5d)

Related closed issue #5408 (closed).

Steps to reproduce

Go to a project --> Settings --> Repository and click anywhere

What is the current bug behavior?

"Mirror a repository" section expanded if you click anywhere

collapsing-sections-broken

What is the expected correct behavior?

Right section is expanded

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.4.5p335
Gem Version:    2.7.6
Bundler Version:1.16.6
Rake Version:   12.3.1
Redis Version:  3.2.12
Git Version:    2.18.1
Sidekiq Version:5.2.1
Go Version:     unknown

GitLab information Version: 11.5.1-ee Revision: cab68f5 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.8 URL: http://bdg-git.pvs.local HTTP Clone URL: http://bdg-git.pvs.local/some-group/some-project.git SSH Clone URL: git@bdg-git.pvs.local:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: yes Using Omniauth: yes Omniauth Providers:

GitLab Shell Version: 8.4.1 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check
Checking GitLab Shell ...

GitLab Shell version >= 8.4.1 ? ... OK (8.4.1) hooks directories in repos are links: ... 7/2 ... ok 7/3 ... ok 7/6 ... ok 19/7 ... ok 4/9 ... repository is empty 7/10 ... ok 9/12 ... ok 9/13 ... ok 9/14 ... ok 9/15 ... ok 9/16 ... ok 9/17 ... ok 9/18 ... ok 9/19 ... ok 9/20 ... ok 9/21 ... ok 9/23 ... ok 7/24 ... ok 7/28 ... ok 7/30 ... ok 7/31 ... ok 7/33 ... ok 19/41 ... ok 7/42 ... ok 7/43 ... ok 19/46 ... ok 19/47 ... ok 19/49 ... ok 19/50 ... ok 19/51 ... ok 19/52 ... ok 19/53 ... ok 19/54 ... ok 19/55 ... ok 19/56 ... ok 19/57 ... ok 19/58 ... ok 19/59 ... ok 19/60 ... ok 18/61 ... ok 4/62 ... ok 7/63 ... ok 19/64 ... ok 19/65 ... ok 19/66 ... ok 19/67 ... ok 19/68 ... ok 19/69 ... ok 19/70 ... ok 18/71 ... ok 18/72 ... ok 18/73 ... ok 18/74 ... ok 18/75 ... ok 18/76 ... ok 18/77 ... ok 18/78 ... ok 18/79 ... ok 18/80 ... repository is empty 18/81 ... ok 18/82 ... ok 18/83 ... ok 7/84 ... ok 7/85 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK

Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Running? ... yes Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Reply by email is disabled in config/gitlab.yml Checking LDAP ...

Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) //removed for comanpy security

Checking LDAP ... Finished

Checking GitLab ...

Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... 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: ... 7/2 ... yes 7/3 ... yes 7/6 ... yes 19/7 ... yes 4/9 ... yes 7/10 ... yes 9/12 ... yes 9/13 ... yes 9/14 ... yes 9/15 ... yes 9/16 ... yes 9/17 ... yes 9/18 ... yes 9/19 ... yes 9/20 ... yes 9/21 ... yes 9/23 ... yes 7/24 ... yes 7/28 ... yes 7/30 ... yes 7/31 ... yes 7/33 ... yes 19/41 ... yes 7/42 ... yes 7/43 ... yes 19/46 ... yes 19/47 ... yes 19/49 ... yes 19/50 ... yes 19/51 ... yes 19/52 ... yes 19/53 ... yes 19/54 ... yes 19/55 ... yes 19/56 ... yes 19/57 ... yes 19/58 ... yes 19/59 ... yes 19/60 ... yes 18/61 ... yes 4/62 ... yes 7/63 ... yes 19/64 ... yes 19/65 ... yes 19/66 ... yes 19/67 ... yes 19/68 ... yes 19/69 ... yes 19/70 ... yes 18/71 ... yes 18/72 ... yes 18/73 ... yes 18/74 ... yes 18/75 ... yes 18/76 ... yes 18/77 ... yes 18/78 ... yes 18/79 ... yes 18/80 ... yes 18/81 ... yes 18/82 ... yes 18/83 ... yes 7/84 ... yes 7/85 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.4.5) Git version >= 2.9.5 ? ... yes (2.18.1) Git user has default SSH configuration? ... yes Active users: ... 8 Elasticsearch version 5.1 - 5.5? ... skipped (elasticsearch is disabled)

Checking GitLab ... Finished

Assignee Loading
Time tracking Loading