Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-19836 Moodle 5.0 QA
  3. MDLQA-19922

CLONE - In a database activity the file picker can be used to upload a files

XMLWordPrintable

      1. Log in as a teacher and turn editing on in the course.
      2. Add a new Database activity.
      3. Create a file field and set the maximum size to the site or course upload limit.
      4. Create a picture field, also setting the maximum size.
      5. In the templates tab, save the single and list templates.
      6. Log in as a student and access the Database activity.
      7. Add an entry to the database and for both file and picture fields:
        • Click 'Add...' on the respective field.
        • Verify that the file picker is displayed.
        • Upload a file and then a picture.
        • Click 'Save and view' and verify that the file or picture has been uploaded correctly.
        • Try downloading the file or picture.
      8. QA-1770 - Try to upload unsupported files in the picture field, such as .exe, spreadsheets or any document that is not a picture.
      9. Verify that you are not able to upload non-image files to a picture field
      10. Log in as the teacher again, update the Database activity, and set the maximum size lower.
      11. Log in as the student again and check that the maximum file size is stated correctly on the add entry page.

        1. MDLQA-19922-0000.png
          MDLQA-19922-0000.png
          97 kB
        2. MDLQA-19922-0001.png
          MDLQA-19922-0001.png
          100 kB
        3. MDLQA-19922-0002.png
          MDLQA-19922-0002.png
          107 kB
        4. MDLQA-19922-0003.png
          MDLQA-19922-0003.png
          120 kB
        5. MDLQA-19922-0004.png
          MDLQA-19922-0004.png
          136 kB
        6. MDLQA-19922-0005.png
          MDLQA-19922-0005.png
          121 kB
        7. MDLQA-19922-0006.png
          MDLQA-19922-0006.png
          104 kB
        8. MDLQA-19922-0007.png
          MDLQA-19922-0007.png
          47 kB
        9. MDLQA-19922-0008.png
          MDLQA-19922-0008.png
          71 kB
        10. MDLQA-19922-0009.png
          MDLQA-19922-0009.png
          89 kB
        11. MDLQA-19922-0010.png
          MDLQA-19922-0010.png
          337 kB
        12. MDLQA-19922-0011.png
          MDLQA-19922-0011.png
          61 kB
        13. MDLQA-19922-0012.png
          MDLQA-19922-0012.png
          56 kB
        14. MDLQA-19922-0013.png
          MDLQA-19922-0013.png
          60 kB
        15. MDLQA-19922-0014.png
          MDLQA-19922-0014.png
          96 kB
        16. MDLQA-19922-0015.png
          MDLQA-19922-0015.png
          67 kB

            dag Dag Klimas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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