500 Internal server error on create merge request page with argument force_remove_source_branch
Summary
The GET PARAM force_remove_source_branch
cause merge request
page 500 Internal error
Steps to reproduce
Type following URL. You can replace my project with your own and ensure there is an argument
merge_request[force_remove_source_branch]=true
https://gitlab.com/mondwan/readme_bug/merge_requests/new?merge_request[source_branch]=test1&merge_request[source_project_id]=4381590&merge_request[target_branch]=master&merge_request[target_project_id]=4381590&merge_request[force_remove_source_branch]=true
Example Project
https://gitlab.com/mondwan/readme_bug
What is the current bug behavior?
500 Internal Server error
What is the expected correct behavior?
Create a merge request with remove_source_branch
checked as default
Relevant logs and/or screenshots
NA
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
This bug happens on GitLab.com
Results of GitLab application Check
This bug happens on GitLab.com
Possible fixes
NA