AOSSIE-Org / AOSSIE-Org/EduAid

[BUG]: Error after generating quiz (all question types)

オープン
#620 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
JavaScript
スター
171
フォーク
423
PR マージ指標
30日以内にマージされた PR はありません

説明

### Bug Description

### Description

While generating a quiz using the **all question types option**, after a long loading/scrolling, the output page crashes and shows a runtime error.

### Observed Behavior

* Page loads for some time (with scrolling/loading)
* Then shows error:

```text
Cannot read properties of undefined (reading 'forEach')
```

* The quiz output is not displayed

### Steps to Reproduce

1. Generate a quiz with all question types
2. Wait for loading to complete
3. Navigate to output page
4. Observe crash

### Expected Behavior

Quiz should render properly with all generated questions.

### Screenshot

Image

### Impact

High - Major feature is broken

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。