Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-31113

Multiple files can be uploaded by File manager with max file set to x

    Details

    • Testing Instructions:
      Hide

      NOTE to testers: This needs to be tested under STABLE (21 or 22) and master. And master needs to be tested with normal (upload) and also drag and drop one.

      1. Go to course -> forum
      2. upload a file (File will be visible in file manager)
      3. Press browser back button
      4. Press browser forward button
      5. file should be visible in file manager
      6. try upload another file
      7. You should get error message
      Show
      NOTE to testers: This needs to be tested under STABLE (21 or 22) and master. And master needs to be tested with normal (upload) and also drag and drop one. Go to course -> forum upload a file (File will be visible in file manager) Press browser back button Press browser forward button file should be visible in file manager try upload another file You should get error message
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-31113_multiple_files_file_manager

      Description

      User can fool filemanager to upload multiple files even though max files is set.

      1. Go to course -> forum
      2. upload a file (File will be visible in file manager)
      3. Press browser back button
      4. Press browser forward button
      5. No file is visible in file manager
      6. upload another file
      7. You should see two files uploaded
      8. Save and both files get saved.

      Using Drag and drop (DND) also you can see this issue:

      1. Upload a file using DND
      2. Try uploading another file (I used PDF)
      3. PDF opens (Which user don't expect IMO)
      4. Press browser back button, no file is visible
      5. Drag and drop another file, you will see two file. (This is related to file manager issue mentioned below.)
      6. Save post and both files get uploaded.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Mar/12