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

Backup report no longer links to the individual course backup summaries (backport of MDL-30937)

    XMLWordPrintable

Details

    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • Hide
      Test 1
      1. Visit 'Site administration' > 'Development' > 'Debugging' and set 'Debug messages' to 'NONE: Do not show any errors or warnings'.
      2. Create a few courses.
      3. Visit 'Courses' > 'Backups' > 'Automated backup setup'.
      4. Change the setting (if it isn't already) 'Active' to 'Enabled' and save.
      5. Run the script php admin/cli/automated_backups.php a few times.
      6. Turn debugging developer back on.
      7. Run the script php admin/cli/automated_backups.php a few times.
      8. Visit 'Site administration' > 'Reports' > 'Backups'.
      9. There should be a list of courses you created with their backup details.
      10. Click on the icon next to each course and browse the backups created and ensure the steps are correct - for the backups where there were no logs recorded (when debugging was turned off) confirm you get a message telling you that there are no logs for that backup.
      Test 2
      1. Make sure debugging is turned on.
      2. Add a forum to a course.
      3. Edit the file mod/forum/backup/moodle2/backup_forum_stepslib.php.
      4. Add an exit(); in the middle of the function define_structure().
      5. Run the script php admin/cli/automated_backups.php.
      6. Visit 'Site administration' > 'Reports' > 'Backups'.
      7. Click on the icon next to a course with a forum.
      8. The backup status should read 'Unfinished'.
      Show
      Test 1 Visit 'Site administration' > 'Development' > 'Debugging' and set 'Debug messages' to 'NONE: Do not show any errors or warnings'. Create a few courses. Visit 'Courses' > 'Backups' > 'Automated backup setup'. Change the setting (if it isn't already) 'Active' to 'Enabled' and save. Run the script php admin/cli/automated_backups.php a few times. Turn debugging developer back on. Run the script php admin/cli/automated_backups.php a few times. Visit 'Site administration' > 'Reports' > 'Backups'. There should be a list of courses you created with their backup details. Click on the icon next to each course and browse the backups created and ensure the steps are correct - for the backups where there were no logs recorded (when debugging was turned off) confirm you get a message telling you that there are no logs for that backup. Test 2 Make sure debugging is turned on. Add a forum to a course. Edit the file mod/forum/backup/moodle2/backup_forum_stepslib.php. Add an exit(); in the middle of the function define_structure(). Run the script php admin/cli/automated_backups.php. Visit 'Site administration' > 'Reports' > 'Backups'. Click on the icon next to a course with a forum. The backup status should read 'Unfinished'.
    • Team B Sprint 1

    Description

      See MDL-30937.

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              markn Mark Nelson
              Dan Poltawski Dan Poltawski
              Adrian Greeve Adrian Greeve
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Mar/15