404 error for some group projects.
Created by: jasonlewis
When creating a project on a group it seems some names result in a 404 error after the project has been created. When creating a services
project on a group hbtechnology
it throws a 404 error. Creating a support
project on the same group works just fine.
Here is an extract of the log file.
Started POST "/projects" for xx.xx.xx.xx at 2013-07-01 13:00:57 +0100
Processing by ProjectsController#create as JS
Parameters: {"utf8"=>"â", "authenticity_token"=>"XXXXXXXXXXXXXXXX", "project"=>{"name"=>"services", "namespace_id"=>"6", "import_url"=>""}, "commit"=>"Create project"}
Rendered projects/create.js.haml (1.5ms)
Completed 200 OK in 55ms (Views: 2.9ms | ActiveRecord: 7.7ms)
Started GET "/hbtechnology/services" for xx.xx.xx.xx at 2013-07-01 13:00:58 +0100
Processing by ServicesController#index as HTML
Parameters: {"project_id"=>"hbtechnology"}
Rendered public/404.html (0.1ms)
Filter chain halted as :project rendered or redirected
Completed 404 Not Found in 11ms (Views: 0.9ms | ActiveRecord: 5.9ms)
Seems to be using the wrong project_id
but I'm not really sure why or how it got that confused.
And here is my GitLab version: 5.3.0 e1c473c
Just done some more testing, it appears services
doesn't work in any namespace. Works fine from the global namespace though.