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

Front Page Restore does not show available backups

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1.3
    • None
    • Backup
    • MOODLE_21_STABLE
    • Hide

      Copy-paste the address [SERVER]/backup/restorefile.php?contextid=2 into the browser address bar.

      Show
      Copy-paste the address [SERVER] /backup/restorefile.php?contextid=2 into the browser address bar.
    • Hide

      1. Login as Admin and click Site Administration > Front Page > Front Page backup
      2. Complete the steps to create a backup of the Front Page
      3. Verify that the new backup page is listed
      4. Click Site Administration > Front Page > Front Page restore
      5. Verify that list of available backup files is shown.

      Show
      1. Login as Admin and click Site Administration > Front Page > Front Page backup 2. Complete the steps to create a backup of the Front Page 3. Verify that the new backup page is listed 4. Click Site Administration > Front Page > Front Page restore 5. Verify that list of available backup files is shown.

    Description

      Site Administration > Front Page > Front Page restore reports "no files available" even when backups have been created.

      Completing a Front Page backup takes the user to a list of available backups at /backup/restorefile.php?contextid=2, and from here the Front Page can be restored. However, the actual link to "Front Page restore" points to /files/index.php?id=1&wdir=%2Fbackupdata, which always reports "no files available".

      Steps to reproduce
      ==============
      1. Login as Admin and click Site Administration > Front Page > Front Page backup
      2. Complete the steps to create a backup of the Front Page
      3. Verify that the new backup page is listed
      4. Click Site Administration > Front Page > Front Page restore

      Expected result
      ===========
      I would expect to see a list of backups of the Front Page, from which I could choose one to restore.

      Actual result
      =========
      Message "No files available" appears.

      Attachments

        Issue Links

          Activity

            People

              moodle.com Moodle HQ
              daveyboond Steve Bond
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: