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

Student can't submit if the essay question type is in the quiz (2.2)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.5, 2.2.2
    • 2.2
    • Quiz
    • Moodle 2.2, Oracle
    • Oracle
    • MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      After I reviewed the source code carefully, I found line 154 in question/engine/datablib.php, "$value->save_files($stepid, $context)" should return the value. So, just simple change the line to:

      line 154: $value = $value->save_files($stepid, $context);

      Things work as expected. I am not sure this only happens to Oracle or also to other databases.

      Show
      After I reviewed the source code carefully, I found line 154 in question/engine/datablib.php, "$value->save_files($stepid, $context)" should return the value. So, just simple change the line to: line 154: $value = $value->save_files($stepid, $context); Things work as expected. I am not sure this only happens to Oracle or also to other databases.
    • Hide

      This bug needs to be tested on Oracle, but it would be good to repeat the tests on a more common database (that is, MySQL) to verify there are no regressions their either.

      1. Create a quiz and add two essay questions.
      2. The first essay question should allow attachments.
      3. The second essay question should use the HTML editor with the filepicker.
      4. Attempt the quiz as a student.
      5. Attach a file to the first essay question.
      6. Embed an image into your answer for the second question.
      7. Submit the quiz.
      8. As either teacher or student, review the quiz, and make sure the files are all present and correct.
      9. Finally, for good measure, as teacher regrade the quiz (using the button in the Results -> Grades report in the quiz navigation). Make sure the files are still present.

      Show
      This bug needs to be tested on Oracle, but it would be good to repeat the tests on a more common database (that is, MySQL) to verify there are no regressions their either. 1. Create a quiz and add two essay questions. 2. The first essay question should allow attachments. 3. The second essay question should use the HTML editor with the filepicker. 4. Attempt the quiz as a student. 5. Attach a file to the first essay question. 6. Embed an image into your answer for the second question. 7. Submit the quiz. 8. As either teacher or student, review the quiz, and make sure the files are all present and correct. 9. Finally, for good measure, as teacher regrade the quiz (using the button in the Results -> Grades report in the quiz navigation). Make sure the files are still present.

      Student cannot submit the essay question after inputting something or attaching a file. After clicking the "Next" button, got the following ORA message: ORA-24343: user defined callback error.

            timhunt Tim Hunt
            longfeiyu Longfei Yu
            Sam Hemelryk Sam Hemelryk
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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