Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5740 Moodle 2.6 QA
  3. MDLQA-6073

CLONE - In a database activity File Picker can be used to upload a picture into a picture field.




      Test Pre-requisites:

      • A Database activity with a file field and a picture field.

      Test Steps:

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




            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: