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