0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-30 22:37:01 +00:00
nextcloud_server/lib/private/Preview
Dario Mehlich 654034638e fix(preview): Filter for folders in cleanup old preview job
Fixes #35936.
When running `OC\Preview\BackgroundCleanupJob`, the main iteration loop
in `run()` expects a folder, however, `getOldPreviewLocations()`
currently does not filter by mimetype and therefore can yield a
non-folder entry which causes an Exception when constructing the Folder
impl.
Filtering for `httpd/unix-directory`, as `getNewPreviewLocations()`
already does, fixes this issue.

Signed-off-by: Dario Mehlich <d.mehlich@gmail.com>
2025-01-27 15:09:36 +00:00
..
Storage chore: Add SPDX header 2024-05-24 13:11:22 +02:00
BackgroundCleanupJob.php fix(preview): Filter for folders in cleanup old preview job 2025-01-27 15:09:36 +00:00
Bitmap.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
BMP.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Bundled.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
EMF.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Font.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Generator.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
GeneratorHelper.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
GIF.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
HEIC.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Illustrator.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Image.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IMagickSupport.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Imaginary.php feat(preview): move previews for imaginary pdf to own class ImaginaryPDF 2024-07-25 17:01:01 +02:00
ImaginaryPDF.php feat(preview): move previews for imaginary pdf to own class ImaginaryPDF 2024-07-25 17:01:01 +02:00
JPEG.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Krita.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
MarkDown.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
MimeIconProvider.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Movie.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
MP3.php feat: log file id and path when extracting the mp3 cover fails 2024-07-04 10:55:31 +02:00
MSOffice2003.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
MSOffice2007.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
MSOfficeDoc.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Office.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OpenDocument.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PDF.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Photoshop.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PNG.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Postscript.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Provider.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ProviderV1Adapter.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ProviderV2.php fix(preview): gracefully handle file not being opened in ProviderV2 2024-09-10 11:27:40 +00:00
SGI.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
StarOffice.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SVG.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
TGA.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
TIFF.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
TXT.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Watcher.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
WatcherConnector.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
WebP.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
XBitmap.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00