Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.44k stars 1.07k forks source link

ticking or unticking "show event annotations" causes error #20932

Open tellistone opened 2 weeks ago

tellistone commented 2 weeks ago

Image

To reproduce:

1) create aggregation 2) tick or untick "show event annotations" 3) observe error.

If you hit update widget, the widget on the dashboard works.

master build on smd.dev (11-11-2024).

dennisoelkers commented 2 weeks ago

This is the stack trace from smd:

TypeError: Cannot read properties of undefined (reading 'endsWith')
    at getFieldNameFromTrace.ts:25:21
    at Array.find (<anonymous>)
    at ao (getFieldNameFromTrace.ts:22:31)
    at chartLayoutGenerators.ts:295:23
    at Array.reduce (<anonymous>)
    at Es (chartLayoutGenerators.ts:293:47)
    at useChartLayoutSettingsWithCustomUnits.ts:47:30
    at BarVisualization.tsx:141:31
    at Object.ji [as useMemo] (vendor.04eca551cbe5973a6f71.js:671:25071)
    at c.useMemo (vendor.04eca551cbe5973a6f71.js:770:6292)