Skip to content

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

@vaibhavbaghel

Description

@vaibhavbaghel

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

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions