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

Adding new event - When a course backup occurs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.3, 3.4
    • Fix Version/s: 3.4
    • Component/s: Backup, Events API, Logging
    • Labels:
    • Testing Instructions:
      Hide

      Manual tests:
      1. Create a course
      2. Perform a backup
      3. View the live logs and verify that the backup_created event is listed

      Automated tests:
      Run: vendor/bin/phpunit core_course_courselib_testcase

      Show
      Manual tests: 1. Create a course 2. Perform a backup 3. View the live logs and verify that the backup_created event is listed Automated tests: Run: vendor/bin/phpunit core_course_courselib_testcase
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Epic Link:
    • Pull Master Branch:
      MDL-53537_m34v4

      Description

      Is there an event similar to course_restored, triggered when a user performs a complete interactive backup of a course?

      Could it be something similar in the roadmap?

      It could be interesting for me, to be able to listen for an event such that, for a plugin we are planning.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sbourget Stephen Bourget
              Reporter:
              dino@jaitek.com Saturio Rodríguez
              Peer reviewer:
              Jake Dallimore
              Integrator:
              Andrew Nicols
              Tester:
              John Okely
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

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