Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-6693 Moodle 2.7 QA
  3. MDLQA-6945

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

    Details

      Description

      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 file 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 'Add...' on the File 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 file to verify that the file link has been created properly.
      8. Login as a Teacher and download the file, 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.

        Gliffy Diagrams

          Activity

          Hide
          fox Séverin Terrier added a comment -

          Works as expected !

          File size limite is respected if you set this lower (with a debug message on Moodle QA site).

          I would just modify testing instructions like that :
          4. Click 'Add...' on the File field and verify that File picker is displayed.

          Show
          fox Séverin Terrier added a comment - Works as expected ! File size limite is respected if you set this lower (with a debug message on Moodle QA site). I would just modify testing instructions like that : 4. Click 'Add...' on the File field and verify that File picker is displayed.
          Hide
          marycooch Mary Cooch added a comment -

          Thanks - I have reworded it.

          Show
          marycooch Mary Cooch added a comment - Thanks - I have reworded it.
          Hide
          fox Séverin Terrier added a comment -

          Thanks Mary, but i think you should not talk about drag and drop (which makes point 5 obsolete), as this tracker item is there to test File Picker, and better use my formulation...

          Show
          fox Séverin Terrier added a comment - Thanks Mary, but i think you should not talk about drag and drop (which makes point 5 obsolete), as this tracker item is there to test File Picker, and better use my formulation...
          Hide
          marycooch Mary Cooch added a comment -

          Oh yes sorry! My brain is not awake today

          Show
          marycooch Mary Cooch added a comment - Oh yes sorry! My brain is not awake today
          Hide
          fox Séverin Terrier added a comment -

          Sure : you still have a double "and"...
          Don't understand why you don't use my first proposition, which also use apostrophe for button names.

          Show
          fox Séverin Terrier added a comment - Sure : you still have a double "and"... Don't understand why you don't use my first proposition, which also use apostrophe for button names.
          Hide
          marycooch Mary Cooch added a comment -

          Done!

          Show
          marycooch Mary Cooch added a comment - Done!
          Hide
          fox Séverin Terrier added a comment -

          Thanks Mary

          Show
          fox Séverin Terrier added a comment - Thanks Mary

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: