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

Closed
Open
Created Apr 23, 2013 by Administrator@rootOwner

Completed 500 Internal Server Error. Undefined method `gsub' for nil:NilClass

Created by: UnikZ

After update from 5.0 to 5.1, I have 500 error on serial projects in Gitlab.

ActionView::Template::Error (undefined method gsub' for nil:NilClass): 13: = link_to new_project_merge_request_path(@project), title: "New Merge Request", class: "btn-small btn grouped" do 14: Merge Request 15: - if @project.issues_enabled && can?(current_user, :write_issue, @project) 16: = link_to url_for_new_issue, title: "New Issue", class: "btn-small btn grouped" do 17: Issue app/helpers/issues_helper.rb:64:inurl_for_new_issue' app/views/projects/_clone_panel.html.haml:16:in _app_views_projects__clone_panel_html_haml__4580236672399910940_33169480' app/views/projects/show.html.haml:1:in_app_views_projects_show_html_haml___280269605339445756_29969760' app/controllers/projects_controller.rb:64:in block (2 levels) in show' app/controllers/projects_controller.rb:58:inshow'

All of these projects have external issue tracker Redmine connected. After some time I solved this problem by adding "new_issue_url" parameter to gitlab.yml config. And it works!

I think that this parameter must be in example config file.

Assignee
Assign to
Time tracking