Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14813 Moodle 3.10 QA
  3. MDLQA-15025

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

    XMLWordPrintable

    Details

      Description

      1. Log in as a teacher, turn editing on in the course and add a new database activity.
      2. Create a file field.
      3. Set the maximum size to the site or course upload limit.
      4. In the templates tab, save the single and list templates.
      5. Log in as a student and try adding an entry to the database.
      6. Click 'Add...' on the file field and check that the file picker is displayed.
      7. Select 'Upload a file', choose a file to upload and upload it.
      8. Click 'Save and view' and check that the file has been uploaded correctly.
      9. Try downloading the file.
      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. Step1.png
          Step1.png
          37 kB
        2. Step10.png
          Step10.png
          77 kB
        3. Step11.png
          Step11.png
          62 kB
        4. Step2and3.png
          Step2and3.png
          41 kB
        5. Step4-1.png
          Step4-1.png
          59 kB
        6. Step4-2.png
          Step4-2.png
          65 kB
        7. Step5.png
          Step5.png
          55 kB
        8. Step6.png
          Step6.png
          53 kB
        9. Step7.png
          Step7.png
          59 kB
        10. Step8.png
          Step8.png
          54 kB
        11. Step9.png
          Step9.png
          4 kB

          Activity

            People

            Assignee:
            alrachels AL Rachels
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: