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

The format of grading an essay question is not completely validated.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8.7, 2.9.1
    • 2.8.8, 2.9.2
    • Quiz
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • Hide
      1. Create a quiz.
      2. Add an essay question to it
      3. Attempt the quiz as a student
      4. Review the attempt as a teacher
      5. Click Make comment or override grade.
      6. Try grade the attempt with a range of invalid values (strings, badly formated number like 1..5, numbers that are too big or too small).
      7. Grade with a valid value and verify that it is saved.
      8. Click Make comment or override grade again.
      9. Set the grade back to blank & save. Verify that the questoin goes back into the requires grading state.
      10. Now make some more attempts with a few different student accounts.
      11. Go to Quiz adminstration -> Results -> Manual grading.
      12. Click to grade attempts at the question.
      13. Input a mixture of different valid and invalid values into the different grade boxes, and try to submit.
      14. Verify that the appropriate validation messages are shown.
      Show
      Create a quiz. Add an essay question to it Attempt the quiz as a student Review the attempt as a teacher Click Make comment or override grade. Try grade the attempt with a range of invalid values (strings, badly formated number like 1..5, numbers that are too big or too small). Grade with a valid value and verify that it is saved. Click Make comment or override grade again. Set the grade back to blank & save. Verify that the questoin goes back into the requires grading state. Now make some more attempts with a few different student accounts. Go to Quiz adminstration -> Results -> Manual grading. Click to grade attempts at the question. Input a mixture of different valid and invalid values into the different grade boxes, and try to submit. Verify that the appropriate validation messages are shown.

    Description

      When you enter a string as a mark for an essay question the grade is saved as zero instead of getting a message of wrong format (as the mod_assign does).

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              nmoller Nelson Moller
              Nelson Moller Nelson Moller
              David Monllaó David Monllaó
              Jun Pataleta Jun Pataleta
              Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Sep/15