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

mod_assign Site wide config item for 'download all submissions' folder name structure

XMLWordPrintable

    • MOODLE_32_STABLE
    • MDL-55616-assign-download-templates
    • Hide

      Test 1

      1. Visit admin/settings.php?section=modsettingassign and set the configuration item submissionprefix, the default value is

        {{groupname}}-{{fullname}}

      2. Create a course with multiple students.
      3. Create an assignment with 'File submissions' and 'Feedback files' enabled and set 'Maximum number of uploaded files' to '10'.
      4. Log in as a student.
      5. Add a submission with multiple files with different names and folders (with files inside).
      6. Repeat the above 2 steps with multiple students creating different file structures each time.
      7. Log in as a teacher/admin.
      8. Visit the assignment and click on 'View/grade all submissions'.
      9. Ensure the option located beneath the table 'Download as separate folders' is enabled.
      10. Under 'Grading action' select 'Download all submissions'.
      11. Confirm that the zip contains the folder name template that you created via settings.php, and the files are in the original structure that they were uploaded in.

      Test 2
      Using the same assignment and submissions as the previous tests.

      1. Create a new text input custom profile field as an administrator by visiting user/profile/index.php
      2. Set the name and shortname to equal test and save it.
      3. Set the content of the custom profile field for the Admin user user/editadvanced.php?id=2 to equal a string of your choice.
      4. Navigate to the previously created assignment.
      5. While in the assignment context, click on Edit settings in the Administration panel.
      6. Set the individual assignment option Submission folder prefix to

        {{profiletest}}-{{course}}-{{fullname}}

      7. Visit the assignment and click on 'View/grade all submissions'.
      8. Ensure the option located beneath the table 'Download as separate folders' is enabled.
      9. Under 'Grading action' select 'Download all submissions'.
      10. The folders in the zip archive will now be prefixed with the custom profile field content, course and full name of the submitted users.

      Test 3

      1. Using the downloaded zip obtained from the above test change the text file content and add new files.
      2. Log in as a teacher/admin.
      3. Visit the assignment and click on 'View/grade all submissions'.
      4. Under 'Grading action' select 'Upload multiple feedback files in a zip'.
      5. Upload the new zip.
      6. Confirm the feedback left for the students is correct.
      Show
      Test 1 Visit admin/settings.php?section=modsettingassign and set the configuration item submissionprefix , the default value is {{groupname}}-{{fullname}} Create a course with multiple students. Create an assignment with 'File submissions' and 'Feedback files' enabled and set 'Maximum number of uploaded files' to '10'. Log in as a student. Add a submission with multiple files with different names and folders (with files inside). Repeat the above 2 steps with multiple students creating different file structures each time. Log in as a teacher/admin. Visit the assignment and click on 'View/grade all submissions'. Ensure the option located beneath the table 'Download as separate folders' is enabled. Under 'Grading action' select 'Download all submissions'. Confirm that the zip contains the folder name template that you created via settings.php, and the files are in the original structure that they were uploaded in. Test 2 Using the same assignment and submissions as the previous tests. Create a new text input custom profile field as an administrator by visiting user/profile/index.php Set the name and shortname to equal test and save it. Set the content of the custom profile field for the Admin user user/editadvanced.php?id=2 to equal a string of your choice. Navigate to the previously created assignment. While in the assignment context, click on Edit settings in the Administration panel. Set the individual assignment option Submission folder prefix to {{profiletest}}-{{course}}-{{fullname}} Visit the assignment and click on 'View/grade all submissions'. Ensure the option located beneath the table 'Download as separate folders' is enabled. Under 'Grading action' select 'Download all submissions'. The folders in the zip archive will now be prefixed with the custom profile field content, course and full name of the submitted users. Test 3 Using the downloaded zip obtained from the above test change the text file content and add new files. Log in as a teacher/admin. Visit the assignment and click on 'View/grade all submissions'. Under 'Grading action' select 'Upload multiple feedback files in a zip'. Upload the new zip. Confirm the feedback left for the students is correct.

      The folder naming structure for each student folder in the batch downloads isn't great because it's:

      1) fairly arbitrary
      2) fairly ugly with extra bits that don't make sense to a marker
      3) depending on students names can be quite long and unweidly
      4) depending on students names they can be quite similar and hard to tell apart

      It's currently set to:

      firstname lastname_uniqueid_type_subtype

      The only thing that really matters is the uniqueid, everything else could be looked up or inferred.

      CQU have proposed to turn this into a site config template, which would default to the exact same template as above. There would be a set of tokens which get replaced with the username, first name last name and custom profile field vars etc.

      Note the unique id still be hard coded as it's a must have.

      eg CQU intend to set it just the student number.

        1. global settings assign.png
          112 kB
          Nicholas Hoobin
        2. new assignment setting.png
          27 kB
          Nicholas Hoobin

            Unassigned Unassigned
            brendanheywood Brendan Heywood
            Votes:
            7 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

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