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

Event monitor: Handle module and user deletion

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • BACKEND
    • 2.8
    • Administration
    • MOODLE_28_STABLE
    • MDL-47376-master
    • Hide

      Test 1

      1. Run unit tests and make sure they pass

      Test 2

      1. Go to a course
      2. Create a book
      3. Create a rule with chapter viewed event
      4. Subscribe to the rule for the instance of the book you just created.
      5. Delete the book module
      6. Make sure your subscription is deleted automatically as well.

      Test 3

      1. Now create many different rules
      2. Subscribe to them as a teacher
      3. Delete this user
      4. Now go to database and check tool_monitor_subscriptions and make sure all subscriptions for that user is gone.
      Show
      Test 1 Run unit tests and make sure they pass Test 2 Go to a course Create a book Create a rule with chapter viewed event Subscribe to the rule for the instance of the book you just created. Delete the book module Make sure your subscription is deleted automatically as well. Test 3 Now create many different rules Subscribe to them as a teacher Delete this user Now go to database and check tool_monitor_subscriptions and make sure all subscriptions for that user is gone.
    • BACKEND Sprint 17

      When a user is deleted all related subscriptions should be deleted.

      When a module is deleted all related subscriptions should be deleted.

      (also consider priority of the observers while creating this)

            ankit_frenz Ankit Agarwal
            ankit_frenz Ankit Agarwal
            John Okely John Okely
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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