Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-19836 Moodle 5.0 QA
  3. MDLQA-19891

CLONE - A teacher can restore a 1.9 course backup

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Blocker Blocker
    • None
    • Moodle 5.0
    • Backup, Teacher

      This test is about restoring a course backup from Moodle 1.9 without user data.

      Setup

      • This test requires a backup of a Moodle 1.9 course containing examples of all core activity modules. These include assignment, choice, database, folder, forum, glossary, IMS content package, label, lesson, page, quiz, file, SCORM package, survey, URL, wiki, and workshop. User data in the backup is not required.
      • A sample backup file (moodle_19_course_backup.mbz) is available for download.
        • Please note: It contains legacy assignment 2.2, chat and survey which are no longer part of the Moodle core and will not be restored.

      Testing

      1. Log in as a teacher, go to a course and in the More menu click 'Course reuse', then in the dropdown menu select Restore (or Course administration > Restore if using Classic theme).
      2. Import a backup file and restore it (without user data).
        • On the step 6 of the restore process verify that you see the message: _The questions category "Default for New Features", originally at system|course|course_category context in backup file, will be created at a question bank module context by restore _
      3. Go to the restored course and verify that:
        • All activities have been restored correctly and look for any errors when visiting each activity.
        • Go to More > Question banks and verify that a "System shared question bank" has been created.
      4. Click on the "System shared question bank" link and verify that "Default for New features" question category has 4 questions restored.

        1. MDLQA-19891 question banks automatically made.png
          52 kB
          German Valero
        2. MDLQA-19891 red message.png
          14 kB
          German Valero
        3. MDLQA-19891 restored.png
          17 kB
          German Valero
        4. MDLQA-19891 screen 5.png
          45 kB
          German Valero
        5. MDLQA-19891 screen 6.png
          53 kB
          German Valero
        6. MDLQA-19891 screen 7.png
          60 kB
          German Valero
        7. MDLQA-19891 screen 8.png
          75 kB
          German Valero

            germanvaleroelizondo German Valero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.