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

overriding grades with ajax enabled doesn't change the grade.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide

      Go into a course that contains at least one assessment and at least one student who has an actual grade for that assessment.

      Log in as a teacher. Enable ajax on the grader report (its a site setting. search for "ajax")

      Next go to [Course administration->Grades]
      Hover over a grade, click in the box, change the grade and press enter.
      If the grade wasnt previously overriden the box colour should change to indicate that the grade has been overwritten. If you reload the page your overriden grade should still be there.

      Show
      Go into a course that contains at least one assessment and at least one student who has an actual grade for that assessment. Log in as a teacher. Enable ajax on the grader report (its a site setting. search for "ajax") Next go to [Course administration->Grades] Hover over a grade, click in the box, change the grade and press enter. If the grade wasnt previously overriden the box colour should change to indicate that the grade has been overwritten. If you reload the page your overriden grade should still be there.
    • Workaround:
      Hide

      Turn editing on, and override the grade.

      Show
      Turn editing on, and override the grade.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      MDL-30287_grader_ajax

      Description

      From testing http://tracker.moodle.org/browse/MDLQA-1333

      Please note that you can't just overwrite the grade to reproduce this problem.

      To reproduce this problem you will need to set up a course. Include an assessment (assignment, quiz etc.) log in as a student. Complete the assessment, log back in as a teacher and then grade the assessment. Next you need to enable ajax for marking. Go to [Site administration->Grades->Report settings ->Grader report] and check "Enable AJAX".

      Next go to [Course administration->Grades]
      Hover over a grade, the mouse should change to an edit icon. click in the box, change the grade and press enter.
      The grade has changed, but the overall average is the same. If the grade had saved then the box colour should change to indicate that the grade has been overwritten. If you reload the page you can see that the grade has reverted back to the original value.

      Checked with firefox 7.0.1 and google chrome 15.0.874.120.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    5/Dec/11