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

Event monitor: Trigger various events

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • 2.8
    • 2.7
    • Reports
    • MOODLE_27_STABLE
    • MOODLE_28_STABLE
    • MDL-47153_master
    • Hide
      Test 1
      1. Run all the unit tests in the folder admin/tool/monitor/tests.
      Test
      1. Create a course.
      2. Visit 'Course administration' -> 'Reports' -> 'Event monitor' -> 'Manage rules'.
      3. Add a few rules.
      4. Visit 'Course administration' -> 'Reports' -> 'Event monitor' -> 'Manage subscriptions'.
      5. Subscribe to the rules you created.
      6. Delete the course.
      7. Check the 'tool_monitor_rules' and 'tool_monitor_subscriptions' table and no longer contain the rules or subscriptions you created.
      8. Check the 'logstore_standard_log' table and ensure the 'subscription_deleted' and 'rule_deleted' events have the same context as the 'course_deleted' event.
      Show
      Test 1 Run all the unit tests in the folder admin/tool/monitor/tests. Test Create a course. Visit 'Course administration' -> 'Reports' -> 'Event monitor' -> 'Manage rules'. Add a few rules. Visit 'Course administration' -> 'Reports' -> 'Event monitor' -> 'Manage subscriptions'. Subscribe to the rules you created. Delete the course. Check the 'tool_monitor_rules' and 'tool_monitor_subscriptions' table and no longer contain the rules or subscriptions you created. Check the 'logstore_standard_log' table and ensure the 'subscription_deleted' and 'rule_deleted' events have the same context as the 'course_deleted' event.
    • 8

      When a rule critieria is met, an event should be triggered.

      In this issue we should create the event + unit tests

            markn Mark Nelson
            ankit_frenz Ankit Agarwal
            Simey Lameze Simey Lameze
            Damyon Wiese Damyon Wiese
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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