learningequality / learningequality/studio
TypeError: this.currentChannel is undefined
Nobody has claimed this yet.
- 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.
This user triggered multiple errors similar to this, after deleting the channel in which the error is said to have appeared. I'm curious what happens if a user has the channel edit page open, but deletes it in another tab.
Sentry Issue: STUDIO-HDH
TypeError: this.currentChannel is undefined
at map (channelEdit/views/CurrentTopicView.vue:479:1)
at CurrentTopicViewvue_type_script_lang_js_.computed.ancestors (channelEdit/views/CurrentTopicView.vue:475:1)
at CurrentTopicViewvue_type_template_id_abfbc316_scoped_true_render (./channelEdit/views/CurrentTopicView.vue:27:22)
...
(11 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 in channelEdit/views/CurrentTopicView.vue, especially the computed ancestors section around lines 475-479 and its template use at line 27. Reproduce the case by leaving the channel edit page open while deleting the channel in another tab, then verify the page no longer raises the reported TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100