Quiz (Question Set) - image choice gets stuck if "Check" is clicked before choosing image

Description

Quiz (Question Set) - image choice gets stuck if "Check" is clicked before choosing image

The issue is reported here:

Example Quiz with the problem: https://h5p.org/sites/default/files/question-set-10341%20gets%20stuck.h5p

Environment

None

Acceptance Criteria

None

Activity

Lars-Magnus Underhaug May 15, 2023 at 1:24 PM

Should resolve the initial problem, but please keep in mind the issue addressed regarding the progress dots. Should probably create a separate issue for handling that

Oliver Tacke May 11, 2023 at 12:38 PM

Yup, my thinking exactly.

Hanna Eide Solstad May 11, 2023 at 12:29 PM

I see that looks a bit weird (and also kind of gives away the question). But for now we will do the same fix (so the user does not get stuck), and will look more into the general behavior of this in the future. Having no correct behavior is a bit weird.

Oliver Tacke April 30, 2023 at 9:53 AM

A fix is suggested in

When merged in, will fix the issue reported in HFP-3682. The behavior for getAnswerGiven will be the same as in MultiChoice or MarkTheWords or DragQuestion for questions where picking no answer option is the correct choice.

However, that behavior for getAnswerGiven will lead to seemingly weird behavior in Question Set for all of the subcontent types if no answer option is correct. In that case, the progress dots for questions within QuestionSet will be set on startup already without any user interaction necessary. It should be verified if that is in fact the intended behavior for QuestionSet and for the subcontent types.

Done

Details

Assignee

Reporter

Code reviewer

Original estimate

Time tracking

1.5h logged

Fix versions

Sprint

Tester

Priority

Created April 29, 2023 at 11:49 AM
Updated May 26, 2023 at 12:26 PM
Resolved May 26, 2023 at 12:26 PM