Branches list is empty with localized GitLab

Summary

If in profile settings preferred language is set to Russian (wasn't tested with other) the dropdown for branch list on merge request creation page is empty (see screenshot below).

Steps to reproduce

  • Go to the project page
  • "Merge Request"
  • "Create merge request"
  • (optionally, not needed at our installation) "Change branches"
  • Open any dropdown with branches list

Example Project

https://gitlab.com/iqoption/test-bad-localization But I'm unable to reproduce it here: most interface elements there are in english so bug does not appear.

What is the current bug behavior?

Dropdown for branch selection is empty whenever search field is empty or not

What is the expected correct behavior?

Dropdown for branch selection contains branches

Reason for the bug

I looked at the server response for a search query when dropdown opens or when I type something in search field:

  • In english version there is json with "Branches" key, like Branches: [
  • In russian version there is json with localized key - Ветки: [ which is correct translation, but breaks up functionality :)

Relevant logs and/or screenshots

image

Results of GitLab environment info

System information
System:		Ubuntu 16.04
Proxy:		no
Current User:	git
Using RVM:	no
Ruby Version:	2.3.7p456
Gem Version:	2.6.14
Bundler Version:1.13.7
Rake Version:	12.3.1
Redis Version:	3.2.11
Git Version:	2.16.4
Sidekiq Version:5.0.5
Go Version:	unknown

GitLab information
Version:	10.8.7-ee
Revision:	075705a
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	postgresql
DB Version:	9.6.8
URL:		https://gitlab.mobbtech.com
HTTP Clone URL:	https://gitlab.mobbtech.com/some-group/some-project.git
SSH Clone URL:	git@gitlab.mobbtech.com:some-group/some-project.git
Elasticsearch:	no
Geo:		no
Using LDAP:	yes
Using Omniauth:	no

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

Results of GitLab application Check

Not sure if I can run this on loaded production

Edited Dec 12, 2018 by Iqoption
Assignee Loading
Time tracking Loading