Diff view may hide some changes in the Pull Request
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
In a Pull Request that includes many changes in a file (e.g., 200+ lines changed), using the Find function of the Diff view may hide several last lines that have changed.
For example:
Create a Pull Request where 200 lines have been added to a file
Open the Pull Request and switch to the Diff view
Scroll all the way down and note that all 200 added lines are shown
Click on one of the green lines, then use Ctrl+F (or Command+F) to display the Find: field
Type some search string in the Find field (e.g., Test) and click the Next match and Previous match buttons several times
Scroll all the way down and note that a few last lines are no longer shown
(in some cases you may need to scroll up and down a few times before the problem occurs)
As result, reviewers may not see some of the suggested changes in the Pull Request, and merge or reject the Pull Request without a complete code review.
診断
環境
This issue has been reproduced against several versions of Bitbucket Server, using Firefox versions 69 and 70 on Ubuntu Linux 18.04 and on Mac OS X 10.14.6.
The problem did not occur in a Pull Request with 160 lines of text (or fewer) have been changed.
原因
This has been raised as a Bitbucket Server bug - BSERV-11000Getting issue details... STATUS
回避策
Resizing the browser window, or re-entering the Pull Request, should show the entire Diff again.
However, the reviewers may not always realise that they are missing some lines.