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

Closed
Open
Created Oct 05, 2013 by Administrator@rootOwner

Error 500 on /admin/projects

Created by: monofon

Requesting /admin/projects results in an error. To reproduce login as admin and click on Projects in the admin area. Expected to see the list of all projects.

From production.log:

Started GET "/admin/projects" for 127.0.0.1 at 2013-10-05 12:09:20 +0200
Processing by Admin::ProjectsController#index as HTML
Rendered admin/projects/index.html.haml within layouts/admin (15.0ms)
Completed 500 Internal Server Error in 21ms
ActionView::Template::Error (undefined method `path' for nil:NilClass):
46: = public_icon
47: - else
48: = private_icon
49: = link_to project.name_with_namespace, [:admin, project]
50: .pull-right
51: = link_to 'Edit', edit_project_path(project), id: "edit_#{dom_id(project)}", class: "btn btn-small"
52: = link_to 'Destroy', [project], confirm: remove_project_message(project), method: :delete, class: "btn btn-small btn-remove"
app/models/project.rb:169:in `to_param'
app/views/admin/projects/index.html.haml:49:in `block in _app_views_admin_projects_index_html_haml___3573012306612575242_69897132549060'
app/views/admin/projects/index.html.haml:43:in `_app_views_admin_projects_index_html_haml___3573012306612575242_69897132549060'
Assignee
Assign to
Time tracking