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

Event monitor: Trigger various events

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.8
    • 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

    Description

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

      In this issue we should create the event + unit tests

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              ankit_frenz Ankit Agarwal
              Simey Lameze Simey Lameze
              Damyon Wiese Damyon Wiese
              Adrian Greeve Adrian Greeve
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Nov/14