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

Event list report doesn't list events from core subsystems

XMLWordPrintable

    • MOODLE_311_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • Hide

      Viewing events from core subsystems

      1. Navigate to Reports > Events list in site administration
      2. Confirm you see events listed for each of the following components
        • \core_customfield
        • \core_h5p
        • \core_payment
      3. Click on an event for each, confirm it displays information

      Viewing abstract events

      1. Confirm that abstract \core\event\comment_created event is not listed on the report
      2. Click on the "Comment created \assignsubmission_comments\event\comment_created" event
      3. Click "Parent Event \core\event\comment_created" link
      4. Confirm you see information about the abstract class
      Show
      Viewing events from core subsystems Navigate to Reports > Events list in site administration Confirm you see events listed for each of the following components \core_customfield \core_h5p \core_payment Click on an event for each, confirm it displays information Viewing abstract events Confirm that abstract \core\event\comment_created event is not listed on the report Click on the "Comment created \assignsubmission_comments\event\comment_created" event Click "Parent Event \core\event\comment_created" link Confirm you see information about the abstract class

      When viewing the event list report, it doesn't consider/list any events belonging to core subsystems (core_*, for example for the following:

      • \core_customfield\event\
      • \core_h5p\event
      • \core_payment\event

      Because the relevant class contains a hard-coded assumption that all events belonging to core exist in $CFG->libdir . '/classes/event'

      https://github.com/moodle/moodle/blob/443a980aea0dcd12d4eb3ba69bc0347b43acb665/report/eventlist/classes/list_generator.php#L65

      Discovered while davidmatamoros was creating events for MDL-70795

            pholden Paul Holden
            pholden Paul Holden
            Simey Lameze Simey Lameze
            Victor Déniz Falcón Victor Déniz Falcón
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 16 minutes
                5h 16m

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