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

Deleting instance of meta enrolment displays wrong event

    XMLWordPrintable

Details

    Description

      When deleting instance of meta enrolment, report shows event "Grouping deleted" instead of "Enrolment method deleted".

      Test scenario:

      1. Create a course.
      2. Go to enrolment methods and add a meta enrolment. Register.
      3. Go back to list of enrolment methods and delete the meta enrolment.
      4. Go in course reports.
      5. Confirm
        1. That log line for deleting method shows "Grouping deleted" instead of "Enrolent method deleted.

      This bog appears in lib/classes/event/enrol_instance_deleted.php, at line 76 : in the get_name function, string is "eventgroupingdeleted".

      Attachments

        1. MDL-75800_master.png
          19 kB
          John Edward Pedregosa
        2. MDL-75800_v311.png
          12 kB
          John Edward Pedregosa
        3. MDL-75800_v400.png
          13 kB
          John Edward Pedregosa

        Activity

          People

            pholden Paul Holden
            elgjyn Olivier VALENTIN
            Nicolas Martignoni Nicolas Martignoni
            Jun Pataleta Jun Pataleta
            John Edward Pedregosa John Edward Pedregosa
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              14/Nov/22

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m