Details
-
Bug
-
Resolution: Fixed
-
Low
-
6.10.0, 7.11.1
-
1
-
Severity 3 - Minor
-
2
-
Description
Issue Summary
Creating a branch from the UI uses the recently used repositories list to decide what project/repo to offer for the branch creation. When creating multiple branches in different repositories using different browser tabs or windows, it is possible that the repository shown is not the one intended for creating the branch (and then the branch would be created in the wrong repository).
Steps to Reproduce
- Open Bitbucket and sign in with the same username on two tabs (or in two different browser windows, or in two different browsers, the key is to be signed in as the same user)
- In tab 1, browse to Project A, Repository 1
- In tab 2, bowser to Project B, Repository 2
- In tab 1, click Create Branch | create a branch called feature/test
- in tab 2, click Create Branch | create a branch called feature/test
You will get an error that the branch already exists. Closer examination of the create branch dialog in tab 2 will show that Project A, Repository 1 was selected not Project B, Repository 2 as expected.
Expected Results
The correct project and repository should be default
Actual Results
The recently used repositories list is used when determining what repository to use for creating the branch, so the incorrect project / repository can be presented as the defaults
Workaround
If you press refresh on the source view of Tab 2 before clicking "Create Branch" the correct Project and Repository are selected.
Attachments
Issue Links
- mentioned in
-
Page Loading...