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

Essay questions interpret the zero string '0' as incomplete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 2.3.8, 2.4.5, 2.5.1
    • 2.2.10, 2.3.7, 2.4.4, 2.5, 2.6
    • 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.

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

            ktemkin Kyle Temkin
            ktemkin Kyle Temkin
            Tim Hunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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