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

        1. diff.patch
          0.8 kB
          David Penner

          Issue Links

            Activity

            pennedav David Penner created issue -
            salvetore Michael de Raadt made changes -
            Field Original Value New Value
            Fix Version/s STABLE backlog [ 10463 ]
            Testing Instructions Create a course, enroll some students, add some assignments.
            Go to the gradebook for the course.
            Click on a table cell for one of the student's assignments to enter a grade.
            Enter the grade and hit Enter to save it.
            Refresh the page.

            Result: the grade you just entered will not be there.

            Expected: the grade you entered should still be there.
            # Create a course, enroll some students, add some assignments.
            # Go to the gradebook for the course.
            # Click on a table cell for one of the student's assignments to enter a grade.
            # Enter the grade and hit Enter to save it.
            # Refresh the page.

            Result: the grade you just entered will not be there.

            Expected: the grade you entered should still be there.
            Labels patch triaged
            salvetore Michael de Raadt made changes -
            Link This issue is duplicated by MDL-31535 [ MDL-31535 ]
            salvetore Michael de Raadt made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            andyjdavis Andrew Davis made changes -
            Fix Version/s STABLE Sprint 18 [ 11650 ]
            Fix Version/s STABLE backlog [ 10463 ]
            andyjdavis Andrew Davis made changes -
            Pull Master Diff URL https://github.com/andyjdavis/moodle/compare/master...MDL-31353_grader_io
            Pull Master Branch MDL-31353_grader_io
            Testing Instructions # Create a course, enroll some students, add some assignments.
            # Go to the gradebook for the course.
            # Click on a table cell for one of the student's assignments to enter a grade.
            # Enter the grade and hit Enter to save it.
            # Refresh the page.

            Result: the grade you just entered will not be there.

            Expected: the grade you entered should still be there.
            # 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.
            Pull from Repository git://github.com/andyjdavis/moodle.git
            andyjdavis Andrew Davis made changes -
            Status Open [ 1 ] Waiting for peer review [ 10012 ]
            Peer reviewer samhemelryk
            samhemelryk Sam Hemelryk made changes -
            Original Estimate 0 minutes [ 0 ]
            Remaining Estimate 0 minutes [ 0 ]
            Status Waiting for peer review [ 10012 ] Peer review in progress [ 10013 ]
            samhemelryk Sam Hemelryk made changes -
            Status Peer review in progress [ 10013 ] Development in progress [ 3 ]
            andyjdavis Andrew Davis made changes -
            andyjdavis Andrew Davis made changes -
            Status Development in progress [ 3 ] Waiting for integration review [ 10010 ]
            samhemelryk Sam Hemelryk made changes -
            Currently in integration Yes [ 10041 ]
            samhemelryk Sam Hemelryk made changes -
            Status Waiting for integration review [ 10010 ] Integration review in progress [ 10004 ]
            Integrator samhemelryk
            samhemelryk Sam Hemelryk made changes -
            Status Integration review in progress [ 10004 ] Waiting for testing [ 10005 ]
            Fix Version/s 2.2.2 [ 11552 ]
            salvetore Michael de Raadt made changes -
            Tester rajeshtaneja
            rajeshtaneja Rajesh Taneja made changes -
            Status Waiting for testing [ 10005 ] Testing in progress [ 10011 ]
            rajeshtaneja Rajesh Taneja made changes -
            Status Testing in progress [ 10011 ] Tested [ 10006 ]
            stronk7 Eloy Lafuente (stronk7) made changes -
            Status Tested [ 10006 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            Currently in integration Yes [ 10041 ]
            Integration date 09/Mar/12
            stronk7 Eloy Lafuente (stronk7) made changes -
            Fix Version/s STABLE Sprint 18 [ 11650 ]

              People

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

                Dates

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