404 when clicking on "compare with previous version" in merge request review
Summary
I opened a merge request to merge a change from my fork of gitlab-ce into the gitlab-org/gitlab-ce. I pushed another commit to the MR after making some changes per the reviewer's comments. Below this new change in the "Discussion" view there was a link to "Compare with previous version". Upon clicking this link I was taken to a 404 page.
Steps to reproduce
- Fork a repository
- Make a change in your fork
- Open an MR in the upstream with your changes
- Say something in the discussion
- Make another change
- Click the link to "Compare with previous version"
- See the 404
Example Project
Here is a link to where I encountered the bug. The "compare with previous version" link is still present and still goes to a 404.
What is the current bug behavior?
Upon clicking the link I'm taken to a 404.
What is the expected correct behavior?
I'd like to see a page showing the diff of my new commit with the previous commit.
Relevant logs and/or screenshots
Link to screengrab video of the bug in action
Output of checks
This bug happens on GitLab.com