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

Backup report no longer links to the individual course backup summaries

    Details

    • Database:
      MySQL
    • Testing Instructions:
      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'.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-30937_master
    • Sprint:
      BACKEND Sprint 19
    • Issue size:
      Small

      Description

      Backup log no longer links to the courses to show where the backup procedure stopped.

      One used to be able to click on the course to see where the process broke down

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  26 Vote for this issue
                  Watchers:
                  19 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/May/15