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

Manual grading page is broken when Question per page is set incorrectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.9.6, 3.10.3, 3.11, 4.0
    • Fix Version/s: None
    • Component/s: Grading methods
    • Labels:
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE

      Description

      Manual grading page is broken when Question per page is set incorrectly.

      Steps to reproduce:

      1. Create a course.
      2. Create a quiz activity.
      3. Add an "Essay" question.
      4. Login as a student, and submit the quiz.
      5. Login as teacher,  go to Manual grading screen.
      6. Press "grade" link to make a grade.
      7. Set 0 in "Questions per page" in "Options", and press "Change options".
      8. The error "Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays" is shown, and the user cannot manual grade any more.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tomotsuyuki Tomo Tsuyuki
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: