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

Replace Legacy events - Groups

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.6
    • Events API, Groups
    • MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • MDL-39958-master
    • Hide

      Test 1

      1. Create groups (manually, via import, and automatically)
      2. Add some members to a group
      3. Update a group
      4. Delete the members from a group
      5. Create a grouping
      6. Add groups to the grouping
      7. Update the grouping
      8. Delete the grouping
      9. You should not see any errors while doing this

      Test 2

      1. Create some groups, groupings, groups in the groupings and users in groups.
      2. Reset the course (select everything under groups)
      3. Make sure all the groups, groupings, associations group-groupings and group members have been removed for that course only.
      Show
      Test 1 Create groups (manually, via import, and automatically) Add some members to a group Update a group Delete the members from a group Create a grouping Add groups to the grouping Update the grouping Delete the grouping You should not see any errors while doing this Test 2 Create some groups, groupings, groups in the groupings and users in groups. Reset the course (select everything under groups) Make sure all the groups, groupings, associations group-groupings and group members have been removed for that course only.
    • 20
    • BACKEND Sprint 4

    Description

      Replace all legacy events related to Groups.
      group/lib.php: events_trigger('groups_member_added', $eventdata);
      group/lib.php: events_trigger('groups_member_removed', $eventdata);
      group/lib.php: events_trigger('groups_group_created', $group);
      group/lib.php: events_trigger('groups_grouping_created', $data);
      group/lib.php: events_trigger('groups_group_updated', $group);
      group/lib.php: events_trigger('groups_grouping_updated', $data);
      group/lib.php: events_trigger('groups_group_deleted', $group);
      group/lib.php: events_trigger('groups_grouping_deleted', $grouping);

      Plurals:

      group/lib.php: events_trigger('groups_members_removed', $eventdata);
      group/lib.php: events_trigger('groups_groupings_groups_removed', $courseid);
      group/lib.php: events_trigger('groups_groups_deleted', $courseid);
      group/lib.php: events_trigger('groups_groupings_deleted', $courseid);

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              ankit_frenz Ankit Agarwal
              Mark Nelson Mark Nelson
              Damyon Wiese Damyon Wiese
              Andrew Davis Andrew Davis
              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:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13