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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2, 2.2.1
    • Fix Version/s: 2.2.2
    • Component/s: Gradebook
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      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.
    • Workaround:
      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"
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      MDL-31353_grader_io

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Mar/12