Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16289

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. 16289-p01.png
          16289-p01.png
          45 kB
        2. 16289-p02.png
          16289-p02.png
          29 kB
        3. 16289-p03.png
          16289-p03.png
          63 kB
        4. 16289-p04.png
          16289-p04.png
          36 kB
        5. 16289-p05.png
          16289-p05.png
          36 kB
        6. 16289-p06.png
          16289-p06.png
          69 kB
        7. 16289-p07.png
          16289-p07.png
          35 kB

        Activity

          People

            erika07 erika alarcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: