influxdata / influxdata/chronograf
Chronograf (1.10.1) Cannot read properties of undefined (reading 'getInstance')
- 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)?
118.0.5993.70
What operating system are you using?
Debian 12
Please describe what you were trying to do when you encountered this error:
When I try to type colon in query builder for a tag value template variable eq: owner = :owner:
When I paste its OK
```
TypeError: Cannot read properties of undefined (reading 'getInstance')
at s.getInstance (http://192.168.10.10:8888/index.c5ba09e6.js:107:190219)
at s.componentDidMount (http://192.168.10.10:8888/index.c5ba09e6.js:107:190349)
at ws (http://192.168.10.10:8888/index.c5ba09e6.js:1:134781)
at Ml (http://192.168.10.10:8888/index.c5ba09e6.js:1:152426)
at v (http://192.168.10.10:8888/index.c5ba09e6.js:1:172695)
at ao (http://192.168.10.10:8888/index.c5ba09e6.js:1:96502)
at Al (http://192.168.10.10:8888/index.c5ba09e6.js:1:149092)
at bl (http://192.168.10.10:8888/index.c5ba09e6.js:1:145246)
at http://192.168.10.10:8888/index.c5ba09e6.js:1:96793
at v (http://192.168.10.10:8888/index.c5ba09e6.js:1:172695)
```
Contributor guide
Research direction
Reproduce the issue in Chronograf 1.10.1 by typing ':' in the query builder for `owner = :owner:`; the report says pasting the same text works. Start from the query-builder UI and trace the reported `getInstance` failure in the bundled `index.c5ba09e6.js`; done means typing the colon no longer throws and the template-variable query remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100