learningequality / learningequality/studio

TypeError: Cannot read properties of undefined (reading 'charCodeAt')

Open
#5,704 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.