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

Closed
Open
Created Sep 06, 2013 by Administrator@rootOwner

Screen 500 on repo screen after setting issue tracker

Created by: balazs-zsoldos

After my colleague tried to set the issue tracker for a project it cannot be opened on the web page (neither as an admin with edit button)

Exception in the log:

ActionView::Template::Error (undefined method `gsub' for nil:NilClass):
    21:
    22:   - if project_nav_tab? :issues
    23:     = nav_link(controller: %w(issues milestones labels)) do
    24:       = link_to url_for_project_issues do
    25:         Issues
    26:         - if @project.used_default_issues_tracker?
    27:           %span.count.issue_counter= @project.issues.opened.count
  app/helpers/issues_helper.rb:23:in `url_for_project_issues'
  app/views/layouts/nav/_project.html.haml:24:in `block in _app_views_layouts_nav__project_html_haml___1461280324630460351_66281260'
  app/helpers/tab_helper.rb:69:in `nav_link'
  app/views/layouts/nav/_project.html.haml:23:in `_app_views_layouts_nav__project_html_haml___1461280324630460351_66281260'
  app/views/layouts/project_settings.html.haml:12:in `_app_views_layouts_project_settings_html_haml__437476386839977107_69832620'
  app/controllers/projects_controller.rb:18:in `edit'

Problem appears in 6.0

Assignee
Assign to
Time tracking