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

Replace Legacy events - Groups

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Events API, Groups
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39958-master
    • Story Points:
      20
    • Sprint:
      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

              Assignee:
              fred Frédéric Massart
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Mark Nelson
              Integrator:
              Damyon Wiese
              Tester:
              Andrew Davis
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

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