ActionView::Template::Error: undefined method `cache_key' for nil:NilClass

https://sentry.gitlap.com/gitlab/gitlabcom/issues/37775/

NoMethodError: undefined method `cache_key' for nil:NilClass
  app/helpers/projects_helper.rb:193:in `project_list_cache_key'
    project.route.cache_key,
  app/views/shared/projects/_project.html.haml:9:in `_app_views_shared_projects__project_html_haml__4205878244815306388_69870630620840'
    - cache_key = project_list_cache_key(project)
  app/views/shared/projects/_list.html.haml:17:in `block in _app_views_shared_projects__list_html_haml__89649453821452272_69870624840600'
    = render "shared/projects/project", project: project, skip_namespace: skip_namespace,
  app/views/shared/projects/_list.html.haml:15:in `_app_views_shared_projects__list_html_haml__89649453821452272_69870624840600'
    - projects.each_with_index do |project, i|
  app/views/dashboard/projects/_projects.html.haml:1:in `_app_views_dashboard_projects__projects_html_haml__1201105216323439524_69870625259580'
    = render 'shared/projects/list', projects: @projects, ci: true
...
(209 additional frame(s) were not displayed)

ActionView::Template::Error: undefined method `cache_key' for nil:NilClass

ActionView::Template::Error: undefined method `cache_key' for nil:NilClass

/cc @markglenfletcher

Assignee Loading
Time tracking Loading