Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.7, 2.2.4, 2.3.1
-
Component/s: Feedback
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
Fixed Branches:MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Create a new Feedback activity
Add and save a new multichoice question, making it required
Click the pen-in-hand icon to edit the question
Uncheck the "Required" box and save changes
The question should no longer be required, but it still is.
The problem affects all question types that can be required.
To fix the problem use 'advcheckbox' instead of 'checkbox' so that an unchecked box will submit a zero. I will post patches for all versions shortly.