-
Bug
-
Resolution: Fixed
-
Minor
-
2.1.2, 2.2
-
None
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_21_STABLE
-
While testing MDL-28241, WSD (White screen of Death) was observed. Editing "Embedded Question" show WSD.
Fatal error: Call to undefined function delete_question() in /usr/local/www/moodle/question/type/multianswer/questiontype.php on line 151 Call Stack: 0.0011 854048 1. {main}() /usr/local/www/moodle/question/question.php:0 0.4490 55037360 2. qtype_multianswer->save_question() /usr/local/www/moodle/question/question.php:264 0.4492 55050896 3. question_type->save_question() /usr/local/www/moodle/question/type/multianswer/questiontype.php:181 0.4753 55121848 4. qtype_multianswer->save_question_options() /usr/local/www/moodle/question/type/questiontypebase.php:424
|
Steps to reproduce:
- Create a new question "Embedded answers (Cloze)"
- Type following in "Question text"
<p>Sub-question 1: {2:NUMERICAL:=5E-3:1E-4}</p>
<p>Sub-question 2: {1:MULTICHOICE:%100%Yes~%0%No}</p>
- Click "Decode and verify the question text"
- Click save changes
- Now edit this question
- Replace "Question text" with
<p>Sub-question 1: {2:NUMERICAL:=5E-3:1E-4}</p>
- Click "Decode and verify the question text"
- Confirm "The question will be saved as edited"
- Click "Save Changes"
- WSD (White screen of death) with above error msg will be visible.
- is a regression caused by
-
MDL-28241 Error writing to the database when creating certain cloze question
-
- Closed
-