Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-10403 Moodle 3.3 QA
  3. MDLQA-10714

CLONE - Backup and restore activity with files references: Duplicating activities in the same course

    XMLWordPrintable

Details

    • Functional Test
    • Critical
    • Moodle 3.3
    • Moodle 3.3
    • Backup
    • None

    Description

      Backup and restore with files references

      Test Pre-requisites:

      1. Login as admin/teacher, make sure at least two courses exist
      2. Enable the Legacy Course Files repository and enable course legacy files for the first course
      3. Add several files to your private files area, course legacy files and a folder activity, including images
      4. Create an activity module, insert into description images from pre-requisite #3 as alias/shortcuts
      5. Create a new folder resource and add files from pre-requisite #3 as alias/shortcuts

      How to create legacy course files

      • Enable the legacy course files repository plugin in Administration > Site administration > Plugins > Repositories > Common repository settings.
      • Check the legacyfilesinnewcourses box in the Manage repositories common settings (Settings > Site administration > Plugins > Repositories > Common repository settings) then click the 'Save changes' button.
      • Set 'Legacy course files' to Yes in the course settings.
      • In the course that you enabled 'Legacy course files' go to 'Administration > Course administration > Legacy course files' and upload files here.

      How to make sure that file is a reference:

      • if the file is in filearea (i.e. file/folder resource), when you edit the filearea the "shortcut" icon is displayed near the file. When you click on file the information window shows the source location. If the file is embedded image - see below
      • if you edit the filearea that has the source file (user private files or course legacy files), the source file has the "link" icon. When you click on file the information window shows the list of aliases/shortcuts in the system
      • (double check) if you edit the filearea with the source and upload another file with the same name as the source and choose to overwrite, all alias/shortcuts will now show the new file (don't forget to save changes before checking!)

      Test Steps:
      1. Duplicate activities and resources created in pre-requisites #4 and #5.
      2. Make sure that all files are still references.

      Attachments

        1. image-2017-04-20-14-36-10-264.png
          30 kB
          Luiggi Sansonetti
        2. image-2017-04-20-14-37-50-650.png
          7 kB
          Luiggi Sansonetti
        3. image-2017-04-20-14-40-35-438.png
          7 kB
          Luiggi Sansonetti
        4. image-2017-04-20-14-44-49-876.png
          87 kB
          Luiggi Sansonetti
        5. image-2017-04-20-14-51-17-190.png
          8 kB
          Luiggi Sansonetti
        6. image-2017-04-20-14-52-31-963.png
          15 kB
          Luiggi Sansonetti
        7. image-2017-04-20-14-53-17-336.png
          8 kB
          Luiggi Sansonetti
        8. image-2017-04-20-15-00-21-267.png
          5 kB
          Luiggi Sansonetti
        9. image-2017-04-20-15-10-22-665.png
          22 kB
          Luiggi Sansonetti
        10. screenshot-1.png
          52 kB
          Luiggi Sansonetti
        11. screenshot-2.png
          42 kB
          Luiggi Sansonetti

        Issue Links

          Activity

            People

              lsansone Luiggi Sansonetti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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