Deleting a Milestone Removes Source Branch Deletion Options of associated Merge Requests
Summary
Deleting a Milestone Removes Source Branch Deletion Options of associated Merge Requests
Two related issues:
- https://gitlab.com/gitlab-org/gitlab-ce/issues/23191
- https://gitlab.com/gitlab-org/gitlab-ce/issues/19351
Steps to reproduce
- Create a new milestone
- Create a new Merge Request
- Associate with above milestone
- Specify that the source branch should be removed
- Navigate to MR and notice that the source branch is to be removed
- Delete the above milestone
- Reload the new merge request
Expected behavior
Merge Request should maintain it's source branch removal options
Actual behavior
Merge Request's source branch removal options are set from "1" to nil
Relevant logs and/or screenshots
Output of checks
Results of GitLab application Check
Results of GitLab environment info
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)