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

Closed
Open
Created Sep 26, 2013 by Administrator@rootOwner

[6.0] Error 500 on new project

Created by: hithwen

Yesterday I created a new project with admin user. The project contains files and updates appear on timeline If I try to enter the project page (clicking on it from main page) I get an error 500, log shows:

ActionView::Template::Error (undefined method `gsub' for nil:NilClass):
    27:           %ul.dropdown-menu
    28:             - if @project.issues_enabled && can?(current_user, :write_issue, @project)
    29:               %li
    30:                 = link_to url_for_new_issue, title: "New Issue" do
    31:                   Issue
    32:             - if @project.merge_requests_enabled && can?(current_user, :write_merge_request, @project)
    33:               %li
  app/helpers/issues_helper.rb:35:in `url_for_new_issue'
  app/views/projects/_clone_panel.html.haml:30:in `_app_views_projects__clone_panel_html_haml__2188094381828017393_74837840'
  app/views/projects/show.html.haml:1:in `_app_views_projects_show_html_haml___2269257706061949109_74707400'
  app/controllers/projects_controller.rb:70:in `block (2 levels) in show'
  app/controllers/projects_controller.rb:64:in `show'

To sum up: I get err 500 on root/project But I can access root/project/tree/master and root/project/commits/master

Assignee
Assign to
Time tracking