NoMethodError: undefined method `delete' for nil:NilClass
ZD: https://gitlab.zendesk.com/agent/tickets/100161 (internal)
When viewing an issue, we receive an error saying "Something went wrong while fetching comments. Please try again." causing none of the issue's comments to show up.
https://sentry.gitlap.com/gitlab/gitlabcom/issues/268551/
NoMethodError: undefined method `delete' for nil:NilClass
ee/note.rb:29:in `note_html'
raw_note_html.delete(',')
cache_markdown_field.rb:113:in `cached_html_for'
__send__(cached_markdown_fields.html_field(markdown_field)) # rubocop:disable GitlabSecurity/PublicSend
cache_markdown_field.rb:92:in `cached_html_up_to_date?'
return false if cached_html_for(markdown_field).nil? && !__send__(markdown_field).nil? # rubocop:disable GitlabSecurity/PublicSend
banzai/renderer.rb:40:in `render_field'
object.refresh_markdown_cache! unless object.cached_html_up_to_date?(field)
gitlab/metrics/instrumentation.rb:159:in `block in render_field'
.measure { super }
...
(149 additional frame(s) were not displayed)
NoMethodError: undefined method `delete' for nil:NilClass
Edited by DeAndre Harris