The Essay question type allows you to ask students to submit an attachment as well as or instead of a text response.
There are two relevant settings: 'allow attachments' and 'require attachments'. The second suggests that one or more attachments will be required. But they aren't. You can submit an answer without attaching anything.
Steps to reproduce:
As an administrator, manager or teacher:
- Create a quiz in a course
- Give it a name, leave the other defaults as they are, and click "Save and display"
- Click "Edit quiz"
- From the drop-down menu on the right, choose "Add.." and select "A new question"
- A modal dialogue appears. Choose "Essay" from the list of Question Types and click "Add"
- Give the question a name and description
- Expand "Response options" and ensure the following settings:
-
- Response format: No online text
- Allow attachments: 1
- Require attachments: 1
- Click "Save changes"
As a student in that course:
- Click the name of the quiz
- Click "Attempt quiz now"
- Don't upload anything
- **Click "Finish attempt"
- Click "Submit all and finish", and confirm in the modal
Expected result:
Clicking "Finish attempt" should warn you that you've not uploaded anything
Actual result:
You can submit an empty answer with no attachment.
- has a non-specific relationship to
-
MDL-69842 Essay questions: no message given if you don't submit enough files.
- Open