Approvals required in the edit form is always the default
Summary
Even though I set the approvals required of a merge request, the approvals required input in the edit form always contains the default. In my case, the default is 1 approval.
Steps to reproduce
- Submit a merge request with specific
approvals required, different with the default. - Go to the edit page of the merge request.
- The
approvals requiredshows the default.
Expected behavior
The approvals required shows the value what I set.
Actual behavior
The approvals required shows the project default.
Relevant logs and/or screenshots
In the view page:
In the edit page:
Output of checks
Results of GitLab application Check
Too long to paste. But everything is okay.
Results of GitLab environment info
System information
System: Ubuntu 14.04
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-ee
Revision: 562bbc6
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 9.2.18
URL: http://xxx
HTTP Clone URL: http://xxx/some-group/some-project.git
SSH Clone URL: git@xxx:some-group/some-project.git
Elasticsearch: no
Geo: no
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

