Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29062

WSD (White screen of Death), while editing "Embedded Question"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.2
    • 2.1.2, 2.2
    • Questions
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • Hide

      Steps to reproduce:
      1. Create a new question "Embedded answers (Cloze)"
      2. 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>

      3. Click "Decode and verify the question text"
      4. Click save changes
      5. Now edit this question
      6. Replace "Question text" with

      <p>Sub-question 1: {2:NUMERICAL:=5E-3:1E-4}</p>

      7. Click "Decode and verify the question text"
      8. Confirm "The question will be saved as edited"
      9. Click "Save Changes"
      10. WSD (White screen of death) with above error msg should not be visible

      Show
      Steps to reproduce: 1. Create a new question "Embedded answers (Cloze)" 2. 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> 3. Click "Decode and verify the question text" 4. Click save changes 5. Now edit this question 6. Replace "Question text" with <p>Sub-question 1: {2:NUMERICAL:=5E-3:1E-4}</p> 7. Click "Decode and verify the question text" 8. Confirm "The question will be saved as edited" 9. Click "Save Changes" 10. WSD (White screen of death) with above error msg should not be visible

      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:

      1. Create a new question "Embedded answers (Cloze)"
      2. 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>

      3. Click "Decode and verify the question text"
      4. Click save changes
      5. Now edit this question
      6. Replace "Question text" with

        <p>Sub-question 1: {2:NUMERICAL:=5E-3:1E-4}</p>

      7. Click "Decode and verify the question text"
      8. Confirm "The question will be saved as edited"
      9. Click "Save Changes"
      10. WSD (White screen of death) with above error msg will be visible.

            timhunt Tim Hunt
            rajeshtaneja Rajesh Taneja
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.