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

Gradebook not saving with JavaScript error this.report.Y.io.queue not defined

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2, 2.2.1
    • 2.2.2
    • Gradebook
    • Any
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE
    • MDL-31353_grader_io
    • Hide

      Use another way of entering grades that does not use AJAX. For example, click "Turn editing on" and enter grades, then click "Update"

      Show
      Use another way of entering grades that does not use AJAX. For example, click "Turn editing on" and enter grades, then click "Update"
    • Hide
      1. If you don't have one already then create a course, enrol some students, add some assignments.
      2. Go to the grader report for the course.
      3. Click on a table cell for one of the student's assignments. One or two text boxes should appear. If they dont check that the site setting grade_report_enableajax is checked.
      4. Enter the grade and hit Enter to save it.
      5. Refresh the page.

      Expected: the grade you entered should still be there.

      Show
      If you don't have one already then create a course, enrol some students, add some assignments. Go to the grader report for the course. Click on a table cell for one of the student's assignments. One or two text boxes should appear. If they dont check that the site setting grade_report_enableajax is checked. Enter the grade and hit Enter to save it. Refresh the page. Expected: the grade you entered should still be there.

    Description

      Attempts to enter grades in the gradebook do not persist and a JavaScript error of this.report.Y.io.queue not defined is generated.

      I've included a patch that resolves the issue for us.

      The issue is that YUI's io-queue is not being loaded by the grader module, only io-base is being loaded.

      Attachments

        Issue Links

          Activity

            People

              andyjdavis Andrew Davis
              pennedav David Penner
              Sam Hemelryk Sam Hemelryk
              Sam Hemelryk Sam Hemelryk
              Rajesh Taneja Rajesh Taneja
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Mar/12