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

Assignment Outcomes Not Working with Quick Grading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.3
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      When an assignment (2.3) is set to "No Grade" and uses outcomes, Quick Grading does not work with the outcomes. There is no error but the changes do not save.

      The culprit seems to be in the form for process_save_quick_grades(). The process assumes that the form supplies a parameter of grademodified_USERID but this parameter is not passed when the assignment is set to No Grade. It appears that Assignment really depends on the grade being present.

      Steps to reproduce

      • Enable Outcomes
      • Navigate to a course with students. Ensure an outcome is available in the course. If not, create one.
      • Create a 2.3 assignment
        • Set grade to "No Grade"
        • Enable 1 or more outcomes
      • Grade the assignment
        • Set mode to Quick Grading.

      Actual Result: The form displays "The grade changes were saved", but no outcomes or comments have been saved.
      Expected Result: Outcomes and comments are saved.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              damyon Damyon Wiese
              Reporter:
              cfollin Chris Follin
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: