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

Replace Legacy events - module

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Events API
    • Labels:
    • Testing Instructions:
      Hide
      1. Create an assignment activity.
      2. Update the activity.
      3. Delete the activity.
      4. Create a label resource by dragging content into the course area. (Not creating manually)
      5. Edit the label.
      6. Delete the label.
      7. Create a scorm resource by dragging a scorm package into the course area.
      8. In each case above, make sure no error is encountered.
      9. Look at the site logs and make sure there is an entry with all correct details for each of the action above.
      10. Run unitests and make sure they pass (course/tests/courselib_test.php)
      Show
      Create an assignment activity. Update the activity. Delete the activity. Create a label resource by dragging content into the course area. (Not creating manually) Edit the label. Delete the label. Create a scorm resource by dragging a scorm package into the course area. In each case above, make sure no error is encountered. Look at the site logs and make sure there is an entry with all correct details for each of the action above. Run unitests and make sure they pass (course/tests/courselib_test.php)
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-39959-master
    • Story Points (Obsolete):
      20
    • Sprint:
      BACKEND Sprint 4

      Description

      Replace all legacy events related to module.
      course/dnduploadlib.php: events_trigger('mod_created', $eventdata);
      course/lib.php: events_trigger('mod_deleted', $eventdata);

      All places where course modules are created, updated or deleted.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    18/Nov/13