Confusing error when forking to own namespace when project limit is reached
Summary
When a user has reached their personal project limit, they can no longer create new projects. However, they can still fork projects. If the user chooses to fork to their own namespace, they will get an uninformative error: "An error occurred while forking the project. Please try again."
Steps to reproduce
- Set a user's project limit to 0
- Login as this user
- Fork a project to your own namespace
- Observer the error: "An error occurred while forking the project. Please try again."
What is the current bug behavior?
User gets the error: "An error occurred while forking the project. Please try again."
What is the expected correct behavior?
User should either:
- Not be able to select their own namespace OR
- Get an informative error that explains that they cannot create a project in their own namespace due to them having reached their project limit.
