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

Event monitor: Trigger various events

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.8
    • Component/s: Reports
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-47153_master
    • Story Points:
      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

              Assignee:
              markn Mark Nelson
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Simey Lameze
              Integrator:
              Damyon Wiese
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

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