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

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

      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.

            Unassigned Unassigned
            gradyumiller Grady Miller (Inactive)
            Votes:
            10 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.