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

Trigger events when un/assigning groups to a grouping

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.3, 2.7, 2.8.10, 2.9.4, 3.0.2
    • Fix Version/s: 3.1
    • Component/s: Events API, Groups
    • Labels:
    • Testing Instructions:
      Hide

      1. Create course with one group and one grouping
      2. Assign group to grouping, then unassign it back.
      3. Look at logs. See, that group and grouping creation are logged, while adding group to grouping is not logged.
      4. Apply patch
      5. Assign group to grouping, then unassign it back.
      6. Look at logs. See, that everything is ok.

      Show
      1. Create course with one group and one grouping 2. Assign group to grouping, then unassign it back. 3. Look at logs. See, that group and grouping creation are logged, while adding group to grouping is not logged. 4. Apply patch 5. Assign group to grouping, then unassign it back. 6. Look at logs. See, that everything is ok.
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Epic Link:
    • Pull Master Branch:
      MDL-45835-master

      Description

      Events are currently triggered when creating, updating & deleting a grouping.

      It would be useful if the following grouping actions also triggered events:

      • Assigning group to a grouping
      • Unassigning group from a grouping

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16