Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38189 META Backup/restore issues with large courses
  3. MDL-41253

Restore: Need a way to display progress during UI stages

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.6
    • Backup
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • MDL-41253-master
    • Hide

      This test is designed to check that the restore process still works with the new API added.

      1. You will need a small course to test restore with. I used the 'S' course from MDL-38197, but any small course will do.

      2. If you don't already have a backup of the course, back it up with default settings.

      3. Restore the course. Select to restore as a new course and go through all steps of restore using default settings.

      EXPECTED: The restore process completes without error.

      Show
      This test is designed to check that the restore process still works with the new API added. 1. You will need a small course to test restore with. I used the 'S' course from MDL-38197 , but any small course will do. 2. If you don't already have a backup of the course, back it up with default settings. 3. Restore the course. Select to restore as a new course and go through all steps of restore using default settings. EXPECTED: The restore process completes without error.

    Description

      There is code to display progress during backup and restore (MDL-38190) but we also need a mechanism to display this progress during restore UI stages, outside of the restore controller.

      It should work so that a progress bar displays if UI stages take a long time; if they complete quickly (for a small backup) then it doesn't display, so as not to add distracting UI. I arbitrarily decided that five seconds is a good limit for this.

      (This code will not in itself do anything but is a prerequisite for other changes. Basically this is about adding API so that a restore UI stage could potentially display a progress bar.)

      Attachments

        Issue Links

          Activity

            People

              quen Sam Marshall
              quen Sam Marshall
              Dan Poltawski Dan Poltawski
              Damyon Wiese Damyon Wiese
              Jérôme Mouneyrac Jérôme Mouneyrac
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13