Error 500 on some issue link
Gitlab EE: 9.3.5-ee Hosted on Githost
Summary
Some of our issue links are broken, we get error 500 application logs are:
Started GET "/group/project/issues/407" for 80.14.174.205 at 2017-07-11 07:29:06 +0000
Processing by Projects::IssuesController#show as HTML
Parameters: {"namespace_id"=>"group", "project_id"=>"solution", "id"=>"407"}
Started POST "/api/v4/jobs/request" for 52.214.227.66 at 2017-07-11 07:29:07 +0000
Completed 500 Internal Server Error in 213ms (ActiveRecord: 23.1ms | Elasticsearch: 0.0ms)
ActionView::Template::Error (undefined method `name' for nil:NilClass):
55:
56: .issue-details.issuable-details
57: .detail-page-description.content-block
58: %script#js-issuable-app-initial-data{ type: "application/json" }= issuable_initial_data(@issue)
59: #js-issuable-app
60: %h2.title= markdown_field(@issue, :title)
61: - if @issue.description.present?
app/helpers/issuables_helper.rb:245:in `updated_at_by'
app/helpers/issuables_helper.rb:234:in `issuable_initial_data'
app/views/projects/issues/show.html.haml:58:in `_app_views_projects_issues_show_html_haml__2028559706932031649_69983875521320'
app/controllers/projects/issues_controller.rb:97:in `show'
lib/gitlab/i18n.rb:39:in `with_locale'
lib/gitlab/i18n.rb:45:in `with_user_locale'
app/controllers/application_controller.rb:307:in `set_locale'
lib/gitlab/performance_bar/peek_performance_bar_with_rack_body.rb:16:in `call'
lib/gitlab/middleware/multipart.rb:93:in `call'
lib/gitlab/request_profiler/middleware.rb:14:in `call'
lib/gitlab/middleware/go.rb:16:in `call'
lib/gitlab/etag_caching/middleware.rb:11:in `call'
lib/gitlab/middleware/readonly_geo.rb:30:in `call'
lib/gitlab/request_context.rb:18:in `call'
Could it happen if the issue creator or assignee is deleted from Gitlab and Ghost user is blocked?
If so:
- How can we recover it on Githost ?
- How are we supposed to remove user from Gitlab?
/label ~bug
Edited by Jean-François Labbé