Don't check license on namespace when it wasn't set yet.
requested to merge ce-37407-error-500-when-creating-a-project-createservice-returns-a-nil-object into master
What does this MR do?
Fix an error that was happening when importing a Project by repo URL and the flag for checking namespace was enabled
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/37407 Closes https://gitlab.com/gitlab-com/support-forum/issues/2409
Edited by Bob Van Landuyt :neckbeard: