After deleting original project, visiting a merge request throws error 500
Created by: bertjwregeer
The following steps can be used to reproduce the issue:
- Create a project with User A
- Fork the project with User B
- User B makes changes to forked project
- User B requests merge from User B's fork to main project
- User A closes the merge request as invalid
- User B deletes their fork
- Visiting the previously created merge request causes Error 500.
Expected behaviour:
That on step 7 the user is able to see the previous merge request.
This is also an issue on other pages, when the user visits his personal merge requests page http://host/dashboard/merge_requests and clicks "closed", an error 500 is thrown as well.
I am unable to get access to the logs at the moment, but when I get them I will make sure to add them as an addendum to show a backtrace.