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

Front Page Restore does not show available backups

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
    • Testing Instructions:
      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.
    • Workaround:
      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.
    • Affected Branches:
      MOODLE_21_STABLE

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  2 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: