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

Event monitor: Delete rules when course is deleted

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: BACKEND
    • Component/s: Reports
    • Labels:
    • Testing Instructions:
      Hide

      TEST 1

      1. Run testcase tool_monitor_eventobservers_testcase

      TEST 2

      1. Create a new course.
      2. Goto reports>event monitor>manage rules and create a few rules
      3. Goto reports>event monitor>manage subscriptions page and create subsriptions
      4. Delete the course
      5. Go to your database and make sure these created rules and subscriptions are deleted. (table tool_monitor_rules/subscriptions)
      Show
      TEST 1 Run testcase tool_monitor_eventobservers_testcase TEST 2 Create a new course. Goto reports>event monitor>manage rules and create a few rules Goto reports>event monitor>manage subscriptions page and create subsriptions Delete the course Go to your database and make sure these created rules and subscriptions are deleted. (table tool_monitor_rules/subscriptions)
    • Affected Branches:
      MOODLE_27_STABLE
    • Epic Link:
    • Pull Master Branch:
      MDL-46510-master
    • Story Points:
      8
    • Sprint:
      BACKEND Sprint 17

      Description

      We need an observer to delete rules and subscriptions when a course is deleted

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Simey Lameze
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: