Project

General

Profile

Actions

Bug #85140

closed

Recycler CleanerTask delete only first FileResourceField

Added by Sven Juergens over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-06-01
Due date:
% Done:

100%

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

Description

hi,

The CleanerTask checks if there are fileResourcesFields in the respective records and deletes after the database entry also the linked files. However, searching for the fields immediately after the first successful fund stops. Thus, the remaining linked files remain on the server.

have a look here:
https://github.com/TYPO3/TYPO3.CMS/blob/47c77545a81977a34893499af6c59136ad2810cc/typo3/sysext/recycler/Classes/Task/CleanerTask.php#L237

Actions

Also available in: Atom PDF