Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QuestionModel needs an _items default #2546

Closed
cahirodoherty-learningpool opened this issue Oct 14, 2019 · 1 comment
Closed

QuestionModel needs an _items default #2546

cahirodoherty-learningpool opened this issue Oct 14, 2019 · 1 comment
Assignees
Labels

Comments

@cahirodoherty-learningpool
Copy link
Contributor

Subject of the issue/enhancement/features

Error thrown when a question component that expects items does not have any set

Steps to reproduce

Create a course with a Matching Question Component that does not have any items

Expected behaviour

The empty component should render and the course creator should recognise their mistake

Actual behaviour

Depending on extensions configuration, the course can fall over on page load

@moloko
Copy link
Contributor

moloko commented Oct 16, 2019

fixed in v4 by b9c5816 and v3 by 87820ae

@moloko moloko closed this as completed Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants