AOSSIE-Org / AOSSIE-Org/EduAid

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

Đang mở
#620 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
JavaScript
Star
171
Fork
423
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.