learningequality / learningequality/studio
TypeError: Cannot read properties of undefined (reading 'charCodeAt')
Open
Nobody has claimed this yet.
bug
DEV: frontend
- Dominant language
- Python
- Stars
- 191
- Forks
- 307
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 10
Description
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Sentry Issue: STUDIO-J3V
TypeError: Cannot read properties of undefined (reading 'charCodeAt')
at recurseNodes (./shared/utils/helpers.js:272:15)
at HTMLCollection.map (<anonymous>)
at recurseNodes (./shared/utils/helpers.js:192:16)
at HTMLCollection.map (<anonymous>)
at recurseNodes (./shared/utils/helpers.js:192:16)
...
(10 additional frame(s) were not displayed)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with shared/utils/helpers.js around recurseNodes at lines 192 and 272, then review the linked Sentry event to identify which HTMLCollection node produces the undefined value. Done means reproducing the failure and confirming that the charCodeAt TypeError no longer occurs for that input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100