MRs created from Template breaks checkboxes
Summary
If a Merge Request is created via a template containing checkboxes, attempting to check those boxes results in a "Someone edited this merge request at the same time you did. Please refresh the page to see changes" error 100% of the time.
If you check your browser's dev tools after an attempt to check one of these boxes, you will see a 409 (Conflict) response from the PATCH request sent to the MR's https://gitlab.com/namespace/project/merge_requests/mr_number.json URL.
This can be worked around by editing the MR and filling the checkboxes [] brackets with an X manually.
This does not occur for template created issues.
Steps to reproduce
-
Create a new project for test
-
Create the
.gitlab/merge_request_templatesfolder(s) -
Add the attached
template.mdto this folder, and commit your changes -
Create a new branch for testing
-
Create a new MR using the testing branch
-
Attempt to check one of the boxes on this MR
Example Project
https://gitlab.com/calebw/mr_test
https://gitlab.com/calebw/mr_test/merge_requests/3
What is the current bug behavior?
You cannot successfully check checkboxes within a Merge Request created from a template.
What is the expected correct behavior?
You can successfully check checkboxes within a Merge Request created from a template.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)

