Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18048

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        1. db1.png
          db1.png
          41 kB
        2. db2.png
          db2.png
          35 kB
        3. db3.png
          db3.png
          32 kB

        Activity

          People

            stephen.grono Stephen Grono
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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