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
  • #9731

Closed
Open
Created Oct 14, 2015 by Administrator@rootOwner

500 error on project deletion

Created by: TheSerapher

Testing the new Gitlab version and I have encountered an issue when creating a project, then when seeing the initial project page with instruction hitting the REMOVE button. The project is moved properly by sidekick but the redirect in https://github.com/gitlabhq/gitlabhq/blob/v8.0.4/app/controllers/projects_controller.rb#L113-L117 does not happen properly and returns a 500:

Started DELETE "/root/test" for 127.0.0.1 at 2015-10-14 07:43:33 +0000
Processing by ProjectsController#destroy as HTML
  Parameters: {"authenticity_token"=>"[FILTERED]", "namespace_id"=>"root", "id"=>"test"}
Completed 500 Internal Server Error in 1227ms (ActiveRecord: 45.6ms)

NoMethodError (undefined method `include?' for nil:NilClass):
  app/controllers/projects_controller.rb:113:in `destroy'

Not sure what would be causing referred to be empty here, but if you need me to test anything let me know.

EDIT This also happens when trying to delete through the projects settings page. Gitlab 8.0.4 is my version installed from Omnibus.

Assignee
Assign to
Time tracking