An error occurred while fetching the assigned iteration of the selected issue.
Comparing non-existing branches errors with 500
When at least one ref is non-existent, the compare function results in 500.
Originally reported in gitlab-com/support-forum#330 (closed)
- Go to favorite project
- click commits
- click compare
- select master an type foo-bar branch being foo-bar a non existing branch
Will get error 500 instead of 400, 404
Test link: https://gitlab.com/gitlab-org/omnibus-gitlab/compare/master...fooo