Closed MR from default branch shows up in the Web IDE
Summary
Reference to closed MR from default branch shows up in the Web IDE
This was noticed in the www-gitlab-com project when using the Web IDE and reproduced here
Steps to reproduce
- Create a new project
projectX - Establish repository by creating a
READMEfile - Create a new branch from
master,test-branch - Create a new Merge Request
MR1with the source branch ofmastertargetingtest-branch - Close
MR1 - Navigate to
projectXhomepage - Click link to Edit
READMEin Web IDE
Example Project
www-gitlab-com:
What is the current bug behavior?
A reference to the closed MR targeting master is visible whenever you use the Web IDE
What is the expected correct behavior?
The reference should not be there
Output of checks
reproduced on GitLab.com 12.3.5
