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

Sum of grades does not work with exclude empty grades

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 2.8
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide
      1. Run behat tests
      1. Create a grade book with various categories using sum of grades and a few grade items in each category
      2. For some categories, set exclude empty grades to true, and for others set it to false
      3. Go to the grader report and for the first student, grade some items and leave others empty
      4. View the overview report for the student and manually add up the grades and range columns and verify the result matches your expectations
      5. Think of some more tests...
      Show
      Run behat tests Create a grade book with various categories using sum of grades and a few grade items in each category For some categories, set exclude empty grades to true, and for others set it to false Go to the grader report and for the first student, grade some items and leave others empty View the overview report for the student and manually add up the grades and range columns and verify the result matches your expectations Think of some more tests...
    • Affected Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-47078-master

      Description

      This was discussed a long time ago and agreed that these options cannot work together (read MDL-14831).

      But there have been some fixes to aggregation methods recently and the people helping with the Natural Weighting method for 2.8 (Mark McKay, Colin Campbell, Robert Puffer) have been using a patch for a while which seems to solve all the issues.

      So - this issue is about:
      a) Defining completely 100% the expected behaviour for teachers and students via test cases
      b) Implementing those test cases as behat tests
      c) Removing this restriction and allowing sum of grades to work with exclude empty grades

      Once this is fixed - we will open a backport request for it.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: