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

Possible to remove submission while status shows as submitted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.3, 2.8.9, 2.9.3, 3.0, 3.4, 3.4.4, 3.5.1
    • Fix Version/s: 3.4.5, 3.5.2
    • Component/s: Assignment
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide
      Editing submission with an empty folder only
      1. Log in as a teacher/admin
      2. Create an assignment with the following settings:
        • Submission types: File submissions
        • Submission settings > Attempts reopened: Manually
      3. Log in as a student and go to the assignment.
      4. Upload a file as a student
      5. Edit the submission
      6. Delete the file
      7. Create a folder
      8. Save the submission
      9. Confirm you see an error that says nothing was submitted
      10. Press Cancel
      11. Confirm that the original file still shows as the submission
      Editing a submission by deleting the file and uploading it inside a folder
      1. Edit the submission again
      2. Delete the file
      3. Create a folder
      4. Click on the folder to navigate into it and upload a file
      5. Save the submission
      6. Confirm that the submission is saved
      7. Confirm that the submission now shows the submitted file in the folder.
      Both file and online text submissions enabled
      1. Log in as a teacher/admin
      2. Edit the assignment and tick "Online text" under submission types.
      3. Save the changes.
      4. Log in as the student and go to the assignment.
      5. Edit the submission.
      6. Go to the folder and delete the submitted file.
      7. Submit the assignment.
      8. Confirm that you see an error message that indicates that nothing was submitted.
      9. Enter something on the online text field.
      10. Confirm that the assignment is submitted.
      11. Confirm that the submission only now reflects the online text that was submitted by the student.
      Show
      Editing submission with an empty folder only Log in as a teacher/admin Create an assignment with the following settings: Submission types: File submissions Submission settings > Attempts reopened: Manually Log in as a student and go to the assignment. Upload a file as a student Edit the submission Delete the file Create a folder Save the submission Confirm you see an error that says nothing was submitted Press Cancel Confirm that the original file still shows as the submission Editing a submission by deleting the file and uploading it inside a folder Edit the submission again Delete the file Create a folder Click on the folder to navigate into it and upload a file Save the submission Confirm that the submission is saved Confirm that the submission now shows the submitted file in the folder. Both file and online text submissions enabled Log in as a teacher/admin Edit the assignment and tick " Online text " under submission types. Save the changes. Log in as the student and go to the assignment. Edit the submission. Go to the folder and delete the submitted file. Submit the assignment. Confirm that you see an error message that indicates that nothing was submitted. Enter something on the online text field. Confirm that the assignment is submitted. Confirm that the submission only now reflects the online text that was submitted by the student.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull from Repository:
    • Pull 3.4 Branch:
      MDL-49025-m34
    • Pull 3.5 Branch:
      MDL-49025-m35
    • Pull Master Branch:

      Description

      When editing a file submission, it is possible to delete the submission, save, and then navigate away.

      Although an error message is shown warning of an empty submission, the submission is still gone while the status shows as submitted.

        Attachments

          Activity

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/18