Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #2866

Closed
Open
Created Jan 31, 2013 by Administrator@rootOwner

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.

Assignee
Assign to
Time tracking