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

Include changed course settings in course_updated event

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.8
    • Component/s: Events API
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course with visibility set to show
      2. Edit the course settings, set visibility to "hide".
      3. View the log and find the course_updated event. The "other" field should include an "updatedfields" array, which contains "visible" being set to "0".
      Show
      Create a course with visibility set to show Edit the course settings, set visibility to "hide". View the log and find the course_updated event. The "other" field should include an "updatedfields" array, which contains "visible" being set to "0".
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
      MDL-65369_master

      Description

      Currently the course_updated event includes the course fullname and short name and other data but it would be helpful it would include all settings changes as in the config log.

      At the Open University and also at LSE, there have been cases where somebody changed a course setting and we wanted to know who it was, but we could only narrow it down to three or four people who edited something on that screen, rather than the one Guilty Party (for appropriate justice to be meted out).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 35 minutes
                  1h 35m