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

file_get_all_files_in_draftarea does not return zip files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.4.6, 4.5.2
    • 4.4.4
    • Files API

      file_get_drafarea_files gives each file a type: file, zip or folder. file_get_all_files_in_draftarea then tries tries to return all files within folders, but not the folders themselves, however, it does this by only including the files marked as 'file' type, which excludes zip files.

        1. MDL-83807_h5pzipfiles.png
          46 kB
          Sara Arjona (@sarjona)
        2. screenshot-1.png
          64 kB
          Tim Hunt

            kransom Katie Ransom
            kransom Katie Ransom
            Tim Hunt Tim Hunt
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 42 minutes
                42m

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