Project

General

Profile

Actions

Bug #105217

open

RecyclerGarbageCollectionTask does not work recursively and stops at first sight

Added by S P about 2 months ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2024-10-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The RecyclerGarbageCollectionTask from ext:scheduler to cleanup file storage recycle folders (_recycler_, ROLE_RECYCLER) does not detect these recycle folders recursively, but only on first level (of the file storage root). Having them in sub-folders is totally possible (when using file mounts on subfolders, for example). And it also stops at first sight (there can validly be multiple recyclers, however).

$rootLevelFolder->getSubfolders() (which is used by the task to find the recycler folders) does allow setting an argument $recursive = true.

Actions

Also available in: Atom PDF