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

Course deletion does not trigger "course_module_deleted" events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.7, 3.1.3, 3.2
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE

      Description

      When a course module is deleted from a course, the "course_module_deleted" event is triggered. This allows plugins to observe that event and act accordingly when needed.

      When a course is deleted, all of its course modules are also deleted, but no "course_module_deleted" events are generated. There should be one of these for each module deleted.

      I have confirmed that this is a problem in all 3.* releases.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mchurch Mike Churchward
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: