Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.8.0
-
1
-
Severity 3 - Minor
-
Description
Summary
After upgrading to 5.8, when attempting to merge a pull request the "Delete source branch after merging" checkbox is disabled in the following conditions:
- a pull request with the same source branch already existed
- the user opened both pull requests at the same time
Steps to Reproduce
- Create a branch (e.g. feature/test_branch2)
- Create a pull request from feature/test_branch2 to develop
- Create a pull request from feature/test_branch2 to master
- Open both pull requests in the browser
- Merge the pull request from feature/test_branch2 to develop. The "Delete source branch after merging" is correctly disabled in the merge dialog.
- Without refreshing the previously opened page, attempt to merge the pull request from feature/test_branch2 to master
Expected Results
The "Delete source branch after merging" is enabled.
This is a screenshot of the behaviour in 5.7.1:
Actual Results
The "Delete source branch after merging" is disabled.
When hovering over it the "You can not delete the branch because there are open pull requests with the branch as the source" is displayed.
Workaround
Refresh / reopen the page before hitting the Merge button.
Attachments
Issue Links
- mentioned in
-
Page Loading...