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

Private files does not include empty folders in the download zip file

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-77838-403
    • Hide
      1. Log in as admin
      2. Navigate to Private files from user menu
      3. Create the following folder paths:

        ./First
        ./Second
        

      4. Upload a file to the ./First folder
      5. Save changes
      6. Navigate back to root of file area (press Files)
      7. Press Display folder with file details
      8. Select both folders
      9. Press Download
      10. Confirm that the downloaded zip file contains both ./First and ./Second folders
      Show
      Log in as admin Navigate to Private files from user menu Create the following folder paths: ./First ./Second Upload a file to the ./First folder Save changes Navigate back to root of file area (press Files ) Press Display folder with file details Select both folders Press Download Confirm that the downloaded zip file contains both ./First and ./Second folders
    • 1
    • Team Hedgehog 2024 Sprint 1.3

      Discovered by andelacruz while testing MDLQA-17542.

      The failing scenario happens when you have a empty folder in your "Private files" and the repository view is set to "Display folder with file details" and all checkbox are checked:

      Steps to reproduce
      1. Go to the user menu > Private files
      2. Add a file, a folder with a file in it and an empty folder.
      3. Select "Display folder with file details" view mode.
      4. Select all files and click "Download" button
      5. Verify the zip file does not contain the empty folder.

        1. Files.zip
          22 kB
        2. MDL-77838.png
          MDL-77838.png
          126 kB
        3. no empty folder.png
          no empty folder.png
          81 kB

            pholden Paul Holden
            lameze Simey Lameze
            Stevani Andolo Stevani Andolo
            Safat Shahin Safat Shahin
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 26 minutes
                1h 26m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.