Forking a project a second time results in 404
Summary
Forking a project a second time into the same namespace results in a HTTP 404 error.
Steps to reproduce
- Go to https://gitlab.com/gitlab-org/gitlab-ce/ and fork it to your personal namepsace
- After forking is completed, go again to https://gitlab.com/gitlab-org/gitlab-ce/ and fork it again to the same namespace.
- gitlab.com displays a 404 error
Example Project
Every project I tried on gitlab.com.
What is the current bug behavior?
A 404 error is displayed instead of the forked projects page.
What is the expected correct behavior?
A. The user is forwarded directly to the correct project B. The user can not fork to a namespace that the project was already forked.
Relevant logs and/or screenshots
None
Output of checks
This bug happens on GitLab.com