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

Handle grades associated with deleted grade items in the history report

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.8
    • BACKEND
    • Gradebook, Reports
    • 20

    Description

      The query getting all the grades joins on grade_item to filter on course ID. Whenever a grade item is not found, the course ID would be considered as null and thus not being used.

      We need to update the SQL query to handle the deleted grade items, possibly by joining on the grade_item_history table rather than the grade_item one.

      $ git grep MDL-46736
      grade/report/history/tests/report_test.php:        // TODO MDL-46736 Handle deleted/non-existing grade items.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fred Frédéric Massart
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              8 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: