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

Duplicating activity on course page does not fire any event

XMLWordPrintable

    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MDL-39883-master
    • Hide
      1. For each of the following actions:-
        1. Create a new activity
        2. Create a new activity by using drag and drop (drop a scorm package on course)
        3. Duplicate an activity using JS
        4. Duplicate an activity with JS disabled
      2. Go to course log report and make sure you see an entry for "course module created" corresponding with details of the new activity that was created.
      3. Run unit tests under course/tests/courselib_test.php and make sure they pass
      Show
      For each of the following actions:- Create a new activity Create a new activity by using drag and drop (drop a scorm package on course) Duplicate an activity using JS Duplicate an activity with JS disabled Go to course log report and make sure you see an entry for "course module created" corresponding with details of the new activity that was created. Run unit tests under course/tests/courselib_test.php and make sure they pass
    • 13
    • BACKEND Sprint 13

      I would like to see here a new event mod_duplicated. This way we could always inform whoever is hooked to the event what just happened.

      The change would imply small modification to the course/modduplicate.php

      mod_duplicated - int courseid, int cmid, int origcmid, text modulename

            ankit_frenz Ankit Agarwal
            darko.miletic Darko Miletic
            Adrian Greeve Adrian Greeve
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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