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

Activity restore does not fire core\event\course_module_created event

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.6, 3.3.3, 3.4
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:

      Description

      when restoring activity to a course, in the backup/util/plan/restore_plan.class.php : execute()

      we only trigger event in case of TYPE_1COURSE.

      and not treat to the other types (TYPE_1ACTIVITY).

      in MDL-39883  we add the event when duplicating activity. I think we should add one in the execute() as well.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              meirifrach Meir Ifrach
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 6 hours
                  6h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified Time Not Required
                  Not Specified