Epic search fails with a 500
https://sentry.gitlab.net/gitlab/gitlabcom/issues/589836/
NoMethodError: undefined method `to_sym' for 1:Integer
Did you mean? to_s
epics_finder.rb:59:in `count_key'
Array(value).last.to_sym
issuable_finder.rb:128:in `block in count_by_state'
counts[count_key(key)] += value / labels_count
issuable_finder.rb:127:in `each'
finder.execute.reorder(nil).group(:state).count.each do |key, value|
issuable_finder.rb:127:in `count_by_state'
finder.execute.reorder(nil).group(:state).count.each do |key, value|
gitlab/metrics/instrumentation.rb:161:in `block in count_by_state'
.measure { super }
...
(156 additional frame(s) were not displayed)
NoMethodError: undefined method `to_sym' for 1:Integer
Did you mean? to_s
Edited by Sean McGivern