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

Essay questions interpret the zero string '0' as incomplete

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.2.10, 2.3.7, 2.4.4, 2.5, 2.6
    • 2.3.8, 2.4.5, 2.5.1
    • Questions
    • None
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MDL-40264-essay-zero
    • Hide

      Run the provided unit tests and ensure that all tests pass.

      Manually test as follows:
      1. Create a new quiz.
      2. Add a new essay question to said quiz; set its response format to "plain text"*. Do not include a response template.
      3. Log in as a student and attempt the quiz. In the essay response box, enter a single 0 (zero) with no leading or trailing spaces.
      4. Press 'next' to move to the summary page. Verify that the question is in the "needs grading" state: its status column should read "answer saved".
      5. Submit the quiz.
      6. Log in as an instructor, and verify that the quiz needs grading, and has not been assigned a zero. Check for the word "complete" under the question number.

      Show
      Run the provided unit tests and ensure that all tests pass. Manually test as follows: 1. Create a new quiz. 2. Add a new essay question to said quiz; set its response format to "plain text"*. Do not include a response template. 3. Log in as a student and attempt the quiz. In the essay response box, enter a single 0 (zero) with no leading or trailing spaces. 4. Press 'next' to move to the summary page. Verify that the question is in the "needs grading" state: its status column should read "answer saved". 5. Submit the quiz. 6. Log in as an instructor, and verify that the quiz needs grading, and has not been assigned a zero. Check for the word "complete" under the question number.

    Description

      If a respondent submits only one zero (0s) for an essay question, their submission is incorrectly considered incomplete.

      Attachments

        Issue Links

          Activity

            People

              ktemkin Kyle Temkin
              ktemkin Kyle Temkin
              Tim Hunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Sam Hemelryk Sam Hemelryk
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Jul/13