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

Need a bulk delete files in "My private files" repository

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for peer review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3, 2.5.2, 2.6, 2.7.2, 2.8.5, 2.9, 3.5.3, 3.6.1, 3.7
    • Fix Version/s: None
    • Component/s: Filepicker, Repositories
    • Labels:
    • Testing Instructions:
      Hide

      Behat and unit tests provided

      Test with boost and clean.

      Prerequistes: 

      1. Login as any user. 
      2. Go to 'Private files'
      3. Upload any file, name it "F1"
      4. Upload any file, name it "F2"
      5. Upload any file, name it "F3"
      6. Create a folder "Folder1"
      7. In "Folder1", upload any file, name it "F4"
      8. Save Changes

      Testing:

      1. Individual delete
        1. Login as user from above
        2. Go to 'Private files'
        3. Select "Display folder with details" (middle icon on the right)
        4. Confirm table of files with checkboxes in the first cell for each row
        5. Enable F1's checkbox
        6. Click on 'Delete selected' button (identified with a bin icon)
        7. Confirm F1 is removed from table
        8. Save changes
        9. Confirm F1 is still not shown 
      2. Multiple delete
        1. Login as user from above
        2. Go to 'Private files'
        3. Select "Display folder with details" 
        4. Confirm table of files with checkboxes in the first cell for each row
        5. Enable F2's checkbox
        6. Enable F3's checkbox
        7. Enable Folder1's checkbox
        8. Click on 'Delete selected' button (identified with a bin icon)
        9. Confirm Folder 1, F2 and F3 are removed from table
        10. Save changes
        11. Confirm Folder 1, F2 and F3 are still not shown 
      Show
      Behat and unit tests provided Test with boost and clean. Prerequistes:  Login as any user.  Go to 'Private files' Upload any file, name it "F1" Upload any file, name it "F2" Upload any file, name it "F3" Create a folder "Folder1" In "Folder1", upload any file, name it "F4" Save Changes Testing: Individual delete Login as user from above Go to 'Private files' Select "Display folder with details" (middle icon on the right) Confirm table of files with checkboxes in the first cell for each row Enable F1's checkbox Click on 'Delete selected' button (identified with a bin icon) Confirm F1 is removed from table Save changes Confirm F1 is still not shown  Multiple delete Login as user from above Go to 'Private files' Select "Display folder with details"  Confirm table of files with checkboxes in the first cell for each row Enable F2's checkbox Enable F3's checkbox Enable Folder1's checkbox Click on 'Delete selected' button (identified with a bin icon) Confirm Folder 1, F2 and F3 are removed from table Save changes Confirm Folder 1, F2 and F3 are still not shown 
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-33671-master-2

      Description

      Need a bulk delete files in "My private files" repository
      See this discussion: http://moodle.org/mod/forum/discuss.php?d=204310

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                59 Vote for this issue
                Watchers:
                37 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h