Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-11698 Moodle 3.5 QA testing
  3. MDLQA-11902

CLONE - A teacher is warned when a backup contains a file reference (alias/shortcut to a file)

    XMLWordPrintable

    Details

      Description

      1. Log in as a teacher and go to your Private files.
      2. Upload a file and save changes.
      3. Go to a course where you have teacher rights, turn editing on and add a file resource.
      4. Select the file you uploaded to your Private files, choosing 'Create an alias/shortcut to the file' then save changes.
      5. Backup the course, and at the end of backup process, verify that a warning is displayed: "File references to external contents are included in the backup file. These won't work if the backup is restored on a different site."
      6. Download the backup file.
      7. Restore the course on another Moodle site, such as the Moodle Sandbox demo site.
      8. At the end of restore process, verify that a warning is displayed saying that some files cannot be restored because they are references.
      9. Restore the course on the original site.
      10. Verify that no warning is displayed and that all file references are restored correctly.

        Attachments

        1. screenshot-1.png
          screenshot-1.png
          6 kB
        2. screenshot-2.png
          screenshot-2.png
          45 kB
        3. screenshot-3.png
          screenshot-3.png
          16 kB
        4. screenshot-4.png
          screenshot-4.png
          34 kB
        5. screenshot-5.png
          screenshot-5.png
          28 kB
        6. screenshot-6.png
          screenshot-6.png
          4 kB
        7. screenshot-7.png
          screenshot-7.png
          8 kB
        8. screenshot-8.png
          screenshot-8.png
          16 kB

          Activity

            People

            Assignee:
            lsansone Luiggi Sansonetti
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: