Error 422 while moving a project into a namespace
Created by: GromNaN
I just upgraded from 3.1 to 4.1 and I try to move projets into existing namespaces.
But for some of them, I got an error 422.
Started PUT "/admin/projects/kiosk" for 193.22.107.6 at 2013-01-31 18:21:02 +0100
Processing by Admin::ProjectsController#update as HTML
Parameters: {"utf8"=>"â", "authenticity_token"=>"1Uwn9yixhPY5mzC+3bJLb8YowZ0pQIBRy5LaN27LIOw=", "project"=>{"name"=>"Kiosque Numerique", "issues_enabled"=>"0", "merge_requests_enabled"=>"1", "wall_enabled"=>"0", "wiki_enabled"=>"0", "public"=>"0", "namespace_id"=>"5"}, "id"=>"kiosk"}
Completed 422 Unprocessable Entity in 2207ms
ActiveRecord::RecordInvalid (Validation failed: Name only letters, digits, spaces & '_' '-' '.' allowed. Letter should be first):
app/models/project.rb:262:in `block in transfer'
app/models/project.rb:241:in `transfer'
app/contexts/projects/update_context.rb:18:in `execute'
app/controllers/admin/projects_controller.rb:32:in `update'
The repository is moved on the filesystem from repositories/kiosk.git
to repositories/site/kiok.git
, but the modification is not saved in gitlabhq database.