Skip to content

Milestone sort by name throws 500 error.

Summary

When attempting to switch the sort on the milestones page to either Name ascending or Name descending, the page throws a 500 error.

Screenshot_from_2018-08-01_17-03-52

Screenshot_from_2018-08-01_17-05-49

Steps to reproduce

  1. Go to projects milestone page with milestones.
  2. Select "Name ascending" from the sort dropdown in the top right.
  3. Explode

What is the current bug behavior?

500 error

What is the expected correct behavior?

Sort by name

Relevant logs and/or screenshots

Attached above.

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:		
Proxy:		no
Current User:	git
Using RVM:	no
Ruby Version:	2.4.4p296
Gem Version:	2.7.6
Bundler Version:1.16.2
Rake Version:	12.3.1
Redis Version:	3.2.11
Git Version:	2.17.1
Sidekiq Version:5.1.3
Go Version:	unknown

GitLab information Version: 11.1.2-ee Revision: f5babb0 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.8 URL: https://ommitted HTTP Clone URL: https://ommitted/some-group/some-project.git SSH Clone URL: git@ommitted:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers: google_oauth2

GitLab Shell Version: 7.1.4 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 >= 7.1.4 ? ... OK (7.1.4) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 17/1 ... ok 4/2 ... ok 17/3 ... ok 1/4 ... ok 2/5 ... ok 2/6 ... ok 16/8 ... ok 15/9 ... ok 16/14 ... ok 16/17 ... ok 13/18 ... ok 16/19 ... ok 2/20 ... ok 4/23 ... ok 2/25 ... ok 22/26 ... ok 2/30 ... ok 13/31 ... ok 15/32 ... repository is empty 23/35 ... ok 23/37 ... ok 2/59 ... ok 15/61 ... ok 23/66 ... ok 23/67 ... ok 23/68 ... ok 2/71 ... ok 2/74 ... ok 16/75 ... ok 23/77 ... ok 23/78 ... repository is empty 27/80 ... ok 2/81 ... ok 23/83 ... repository is empty 2/84 ... ok 2/85 ... ok 2/86 ... ok 1/87 ... ok 2/88 ... ok 2/89 ... 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 Sidekiq ...

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

Checking Sidekiq ... Finished

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

LDAP is disabled in config/gitlab.yml

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: ... 17/1 ... yes 4/2 ... yes 17/3 ... yes 1/4 ... yes 2/5 ... yes 2/6 ... yes 16/8 ... yes 15/9 ... yes 16/14 ... yes 16/17 ... yes 13/18 ... yes 16/19 ... yes 2/20 ... yes 4/23 ... yes 2/25 ... yes 22/26 ... yes 2/30 ... yes 13/31 ... yes 15/32 ... yes 23/35 ... yes 23/37 ... yes 2/59 ... yes 15/61 ... yes 23/66 ... yes 23/67 ... yes 23/68 ... yes 2/71 ... yes 2/74 ... yes 16/75 ... yes 23/77 ... yes 23/78 ... yes 27/80 ... yes 2/81 ... yes 23/83 ... yes 2/84 ... yes 2/85 ... yes 2/86 ... yes 1/87 ... yes 2/88 ... yes 2/89 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.4.4) Git version >= 2.9.5 ? ... yes (2.17.1) Active users: ... 3 Elasticsearch version 5.1 - 5.5? ... skipped (elasticsearch is disabled)

Checking GitLab ... Finished