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

User Report Aggregation - Sum of grades - total excluding hidden item - aggregate only non-empty grades calcuation error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.10, 2.5
    • None
    • Gradebook
    • None
    • MOODLE_22_STABLE, MOODLE_25_STABLE

    Description

      To reproduce the problem:

      • Add a few grade items to a course
      • Set the aggregation to "Sum of grade"
      • Set to Aggregate only non-empty grades
      • Set user report setting "Hide totals if they contain hidden items" to "Show totals excluding hidden items"
      • Hide one of the grade items
      • Enter grades for a user only for the visible items
      • View the user report for the user. You will notice that the course total is not accurate. It should be a sum of the entered grades, but it is grater than that.

      For example:
      Item 01 - 50/100
      Item 02 (hidden) - empty
      Item 03 - 50/100

      user report shows a course total of 150 rather than the expected 100.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gradyumiller Grady Miller
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              10 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: