Error 500 when accessing notification settings
Created by @stanhu.
https://sentry.gitlap.com/gitlab/gitlabcom/issues/24042/
NoMethodError: undefined method `name' for nil:NilClass
app/views/profiles/notifications/_group_settings.html.haml:9:in `_app_views_profiles_notifications__group_settings_html_haml__2394978624474838494_70349762890880'
= link_to group.name, group_path(group)
app/views/profiles/notifications/show.html.haml:43:in `block in _app_views_profiles_notifications_show_html_haml___897750882271266157_70349769715600'
= render 'group_settings', setting: setting, group: setting.source
app/views/profiles/notifications/show.html.haml:42:in `_app_views_profiles_notifications_show_html_haml___897750882271266157_70349769715600'
- @group_notifications.each do |setting|
lib/gitlab/middleware/multipart.rb:93:in `call'
return @app.call(env) if encoded_message.blank?
lib/gitlab/request_profiler/middleware.rb:14:in `call'
@app.call(env)
...
(144 additional frame(s) were not displayed)
ActionView::Template::Error: undefined method `name' for nil:NilClass
ActionView::Template::Error: undefined method `name' for nil:NilClass