influxdata / influxdata/chronograf

Chronograf (1.10.1) t is undefined

Open
#6,072 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
250
Avg merge
1d 3h
Merged PRs (30d)
9

Description

What browser are you using (name and version)?
Firefox 121.0.1

What operating system are you using?
Ubuntu 22.04

Please describe what you were trying to do when you encountered this error:
Attempted to edit a query (specifically I was starting to delete the dashboard time variable so I could hardcode a time range, but the as soon as I hit backspace, the error occurred).
```
GQ/s.getInstance@http://192.168.0.3:8888/index.c5ba09e6.js:107:190210
GQ/s.componentDidMount@http://192.168.0.3:8888/index.c5ba09e6.js:107:190349
ws@http://192.168.0.3:8888/index.c5ba09e6.js:1:134781
Ml@http://192.168.0.3:8888/index.c5ba09e6.js:1:152426
v@http://192.168.0.3:8888/index.c5ba09e6.js:1:172695
ao@http://192.168.0.3:8888/index.c5ba09e6.js:1:96502
Al@http://192.168.0.3:8888/index.c5ba09e6.js:1:149094
bl@http://192.168.0.3:8888/index.c5ba09e6.js:1:145246
lo/<@http://192.168.0.3:8888/index.c5ba09e6.js:1:96793
v@http://192.168.0.3:8888/index.c5ba09e6.js:1:172695
ao@http://192.168.0.3:8888/index.c5ba09e6.js:1:96502
lo@http://192.168.0.3:8888/index.c5ba09e6.js:1:96740
so@http://192.168.0.3:8888/index.c5ba09e6.js:1:96673
fl@http://192.168.0.3:8888/index.c5ba09e6.js:1:141832
enqueueSetState@http://192.168.0.3:8888/index.c5ba09e6.js:1:100459
Y.prototype.setState@http://192.168.0.3:8888/index.c5ba09e6.js:1:44441
handleChange@http://192.168.0.3:8888/index.c5ba09e6.js:107:291338
handleChange@http://192.168.0.3:8888/index.c5ba09e6.js:107:283426
t.prototype.componentDidMount/<@http://192.168.0.3:8888/index.c5ba09e6.js:107:277765
Nn/o/<@http://192.168.0.3:8888/index.c5ba09e6.js:82:164102
kn@http://192.168.0.3:8888/index.c5ba09e6.js:82:163580
_n@http://192.168.0.3:8888/index.c5ba09e6.js:82:163859
Ca@http://192.168.0.3:8888/index.c5ba09e6.js:82:195042
Aa/e.exports@http://192.168.0.3:8888/index.c5ba09e6.js:82:197692

```

Contributor guide

Open the contributing guide

Research direction

The report identifies the Chronograf query editor flow and the bundled index.c5ba09e6.js stack trace, but no source file or test. Start by reproducing the error in Firefox while deleting the dashboard time variable, then trace the reported handleChange/componentDidMount path to its source. Done means editing the query no longer produces the “t is undefined” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, redux, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.