Unable to access PR after merge from fork to main.
Replication on Bitbucket 7.7.1 instance:
- Created a repository called new-repo, here: http://localhost:6771/b771/projects/FIR/repos/new-repo/browse. It has all the branches.
- Then forked it in my username ajaitly, called new-repo-fork: http://localhost:6771/b771/users/ajaitly/repos/new-repo-fork/browse
- Created a PR between branch bug/ARGUS-23284 from the fork repo, to the master branch in the main repo:
- Merged the PR, the option for Delete source after merging is checked
- Tried to access the Diff tab of the PR, got the same error:
- The Overview and Builds tab are fine, even the Commits tab. Error occurs only when we open that commit, or any other commit in that PR and while accessing the Diff tab.
- This issue occurs with other branches as well like feature type branch for example.
We should be able to see all the tabs of the PR successfully.
- We get an "Couldn't find ref error. The remote hung up unexpectedly" on the UI.
- The below exception is thrown in the atlassian-bitbucket.log file:
After a while when you try to access, it works fine. Attaching the full log file:
If we try to access it after a while it may work. This issue is fixed in 7.12.0 and onwards, you can upgrade to that version or above that