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

Events for managing enrolment instances

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 3.0
    • Component/s: Enrolments, Events API
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course and add instances of the following enrolment instances:
        • cohort
        • guest
        • manual
        • paypal
        • self
      2. Edit each instance using the edit settings form and change something there
      3. Look at the events log and make sure that there were events for each edit action

      P.S. only these enrolment methods have edit forms

      1. for any enrolment method create an instance, change visibility and delete it
      2. make sure all three events appear in the log
      Show
      Create a course and add instances of the following enrolment instances: cohort guest manual paypal self Edit each instance using the edit settings form and change something there Look at the events log and make sure that there were events for each edit action P.S. only these enrolment methods have edit forms for any enrolment method create an instance, change visibility and delete it make sure all three events appear in the log
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Epic Link:
    • Pull Master Branch:
      wip-MDL-44640-master

      Description

      Would be nice if abstract class enrol_plugin add_instance and delete_instance methods (and more..?) would trigger events that could be observed

      Make sure that every action on the course>Enroment methods has an event: Adding, changing an instance, disabling/enabling, changing the order

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marina Marina Glancy
              Reporter:
              pholden Paul Holden
              Peer reviewer:
              David Monllaó
              Integrator:
              Dan Poltawski
              Tester:
              Damyon Wiese
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                16/Nov/15