Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-6693 Moodle 2.7 QA
  3. MDLQA-7049

CLONE - Backup and restore activity with files references: Restoring as a second user

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Critical
    • Affects Version/s: Moodle 2.7
    • Fix Version/s: Moodle 2.7
    • Component/s: Backup
    • Labels:
      None

      Description

      Test Pre-requisites:

      1. Login as admin/teacher, make sure at least two courses exist
      2. 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 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. Backup the activities and resources created in Pre-requsites #4 and #5
      2. Login as another user (teacher/admin)
      3. Restore them into the same course
      4. Make sure that all files are still references

        Gliffy Diagrams

          Activity

          Hide
          fox Séverin Terrier added a comment -

          The description should be modified : the second "Test Pre-requisites:" should be "Test Steps:"

          Show
          fox Séverin Terrier added a comment - The description should be modified : the second "Test Pre-requisites:" should be "Test Steps:"
          Hide
          marycooch Mary Cooch added a comment -

          Thanks! I have reworded it.

          Show
          marycooch Mary Cooch added a comment - Thanks! I have reworded it.
          Hide
          alrachels AL Rachels added a comment -

          Tested with the new wording and it passes.

          Show
          alrachels AL Rachels added a comment - Tested with the new wording and it passes.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: