Details
-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
4.14.12, 5.16.0
-
None
-
Severity 3 - Minor
-
Description
Summary
Comment can end up on the wrong line when one user makes a comment on a file while the second user is changing the file.
Steps to Reproduce
Steps to duplicate issue:
- Create repository with a text file in it that is more than 1 line. I duplicated with 10 lines. This session will be called the terminal session.
- Create a branch in the terminal session and push to Bitbucket.
- Change file by duplicating the first line of the file. There should be two identical lines at the beginning of the file.
- Push changes to Bitbucket and create a pull request. This will be called the web session.
- Start a comment on line 2. Do not click the comment button.
- In the terminal session, add a third line that is identical to the first two lines. The first three lines should be identical.
- Add some text to the beginning of the Second line.
- Save changes. git add, commit, push change.
- Wait for the rescope of the pull request in Bitbucket.
- Click the Comment button in the web session.
- Reload web session. Comment will be on second line. The third line, the intended line, will not have a comment.
Attachments
Issue Links
- duplicates
-
BSERV-3187 Concurrent commits force Stash to create wrong comments in Pull Requests
- Gathering Impact