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

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Backup
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-41253-master

      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

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/13