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

Closed
Open
Created Jan 15, 2013 by Administrator@rootOwner

Branches with names that clash with internal URL's

Created by: afraazali

We had an incident where a developer created a remote branch called "services", any time we tried visiting the branch, we would get a 500 with the following error in the logs:

Started GET "/corp_redesign/commits/services" for 127.0.0.1 at 2013-01-15 08:02:12 -0800 Processing by ServicesController#index as HTML Parameters: {"project_id"=>"corp_redesign/commits"} Completed 500 Internal Server Error in 3ms

NoMethodError (undefined method id' for nil:NilClass): app/models/project.rb:104:infind_with_namespace' app/controllers/application_controller.rb:69:in `project'

I've created other branches and they work fine, it's just if you name the branch services, it throws the above error. I'm currently running the 4.0-stable branch.

Assignee
Assign to
Time tracking