- A Database activity with a file field and a picture field.
- Login as a teacher, navigate to the Database activity, Click the Fields tab and update the file field.
- Set the maximum size to "Course upload limit".
- Login as a Student and navigate to the Database activity. Select the Add an entry tab.
- Click 'Add...' on the File field and verify that File picker is displayed.
- Select 'Upload a file', choose a file to upload and upload it.
- Click 'Save and view' and verify that the files have been uploaded.
- Download the file to verify that the file link has been created properly.
- Login as a Teacher and download the file, then verify that the file is correct.
- Navigate to the Database activity.
- Click the fields tab and follow steps 2 and 3, but set the Maximum size to something lower than the course upload limit.
- Follow steps 3 onwards with the new setting.