Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39359

Allow zipped folder to be uploaded for returning feedback files

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.9, 2.3.6, 2.4.3
    • Fix Version/s: 2.6
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide

      1. Log in as a teacher and create a new assignment with file submissions and feedback files both set to yes.
      2. Log in as a student and submit a file.
      3. Log in as another student and submit another file.
      4. Log in as the teacher again and follow the 'View/grade all submissions' link.
      5. From the "Grading action" dropdown at the top of the page, choose "Download all submissions" and save the zip file.
      6. Extract the zip file (into a folder) and modify each file.
      7. Zip the entire folder and upload using the "Upload multiple feedback files in a zip" grading action.
      8. Confirm that feedback files were correctly allocated to submissions.

      Regression test:
      9. Repeat steps 1-6.
      10. Zip just the files (not the folder) and upload using the "Upload multiple feedback files in a zip" grading action.
      11. Confirm that feedback files were correctly allocated to submissions.

      Show
      1. Log in as a teacher and create a new assignment with file submissions and feedback files both set to yes. 2. Log in as a student and submit a file. 3. Log in as another student and submit another file. 4. Log in as the teacher again and follow the 'View/grade all submissions' link. 5. From the "Grading action" dropdown at the top of the page, choose "Download all submissions" and save the zip file. 6. Extract the zip file (into a folder) and modify each file. 7. Zip the entire folder and upload using the "Upload multiple feedback files in a zip" grading action. 8. Confirm that feedback files were correctly allocated to submissions. Regression test: 9. Repeat steps 1-6. 10. Zip just the files (not the folder) and upload using the "Upload multiple feedback files in a zip" grading action. 11. Confirm that feedback files were correctly allocated to submissions.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39359_master

      Description

      The "Upload multiple feedback files in a zip" feature is convenient, but requires that the files sit directly within the zip file. As the files will most likely be extracted to a folder after downloading, it's quite reasonable to expect teachers to zip the folder up rather than selecting all files and zipping them. At present, this results in the import process seeing no files, as the folder is skipped due to its folderness.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

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