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

Instance ID being used in course module events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Major Major
    • None
    • 2.6
    • Events API

      In course_module_deleted::get_description is recording the instanceid instead of objectid. Would it make more sense to use the course module ID since that is a lot easier to lookup? (I'm thinking of a user trying to manually enter the URL and also I feel like it is more standard to refer to modules by their cmid rather than their instanceid)

      The course_module_created::get_description is doing the same as above.

      In course_module_created::get_url and course_module_created::get_legacy_logdata, it is using instanceid to form the URL, pretty sure this should be objectid.

            lameze Simey Lameze
            bushido Mark Nielsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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