TypeError: Cannot read properties of undefined (reading 'get')
Open
bug
en
missing-demo
pending
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
4.9.0
### Steps to reproduce
Throwing an exception in collectAxesInfo, modelHelper.js
"Cannot read properties of undefined (reading 'get')"
### What is expected?
It should not throw exception
### What is actually happening?
var linksOption = globalAxisPointerModel.get('link', true) || []; is undefined
Contributor guide
Research direction
Start in modelHelper.js at collectAxesInfo and inspect the globalAxisPointerModel access that calls get('link', true). Reproduce the reported exception using the issue's steps, then verify that collecting axis information no longer throws when that value is undefined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100