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

Make sure \core\event\user_graded is triggered for every change in course total

    XMLWordPrintable

    Details

      Description

      There is a unittest introduced by MDL-40697 that validates that event is triggered for updated quiz grade. As part of MDL-47673 it was discovered that quiz generator had by default 'grade=0' which made it ungradeable. Overwriting the activity grade did not update course total.

      Suspiciously only one event count assertion in related unittest core_event_user_graded_testcase::test_event_is_triggered needed fixing.

      We need to make sure that additional event is always triggered when course total is also updated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Marina Glancy
              Integrator:
              Dan Poltawski
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14