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

Improve assignment submission confirmation by including a list of submitted files

XMLWordPrintable

    • MOODLE_404_STABLE, MOODLE_405_STABLE
    • MOODLE_500_STABLE
    • MDL-84387-main
    • Hide
      1. Test prerequisites (working email).
      2. Enable submission receipts in the admin settings page for mod_assign.
      3. Create an assignment in a course with at least one teacher and at least one student.
      4. In the assignment settings, ensure that File submissions is checked in the Submission types section.
      5. Make sure the student can receive emails from this Moodle instance (email is working).
      6. Log in as a student and submit the assignment with at least one file.
      7. Check that the submission status should be "Submitted for grading".
      8. Verify that the student received an email notification about their submission.
      9. Verify that the email content includes text similar to the following.

      Your submission contains:

      File submissions

      • submissionsample01.txt (42 bytes)
      • submissionsample02.txt (42 bytes)
      Show
      Test prerequisites (working email). Enable submission receipts in the admin settings page for mod_assign . Create an assignment in a course with at least one teacher and at least one student. In the assignment settings, ensure that File submissions is checked in the Submission types section. Make sure the student can receive emails from this Moodle instance (email is working). Log in as a student and submit the assignment with at least one file. Check that the submission status should be " Submitted for grading ". Verify that the student received an email notification about their submission. Verify that the email content includes text similar to the following. Your submission contains: File submissions submissionsample01.txt (42 bytes) submissionsample02.txt (42 bytes)
    • Hide

      Code verified against automated checks.

      Checked MDL-84387 using repository: https://github.com/timhunt/moodle.git

      More information about this report

      Built on: Wed Mar 19 20:17:05 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-84387 using repository: https://github.com/timhunt/moodle.git main (0 errors / 0 warnings) [branch: MDL-84387 | CI Job ] More information about this report Built on: Wed Mar 19 20:17:05 UTC 2025
    • Hide

      Launching automatic jobs for branch MDL-84387-main

      Built on: Thu Mar 20 05:36:04 UTC 2025

      Show
      Launching automatic jobs for branch MDL-84387 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18700/ PHPUnit (sqlsrv / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64064/ Behat (NonJS - boost and classic / --tags @core_message,@mod_assign) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64065/ Behat (Firefox - boost / --tags @core_message,@mod_assign) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64066/ Behat (Firefox - classic / --tags @core_message,@mod_assign) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64067/ App tests (stable app version) / --tags @core_message,@mod_assign) Built on: Thu Mar 20 05:36:04 UTC 2025

      As a student
      When I get a message to confirm that I submitted my assignment
      Then I would like to see a list of the files I submitted, to help reassure me that I submitted what I inteded to submit (or other similar indication for other submission types).

      As an institution
      When a student has submitted their Assignment
      Then I would like that message to contain a clear summary of what the submission was, to reduce the potential for "Moodle ate my homework" disagreements later.

      We are thinking of adding a bit to the email like:

      Your submission contained:
      Tim-Assignement-01.docx | 14.3 KB
      supporting_data/survey data.xls | 1.2 MB

      This would be a new optional callback which assign submission subplugins could implement, and we would implement that for file submission as above, and online text submission (probably giving a word count).

      Related forum thread: https://moodle.org/mod/forum/discuss.php?d=465646

            toanlam Toan Lam
            timhunt Tim Hunt
            Tim Hunt Tim Hunt
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            8 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 5 minutes
                1d 5m

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