Actions
Bug #40052
closeddeleteRecord_flexFormCallBack deletes file_references
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-08-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Files, which are referenced in a flexform (<type>group</type><internal_type>file_reference</internal_type>) will be deleted by t3lib_TCEmain::deleteRecord_flexFormCallBack(), independent of the path or usage by other records.
For normal record fields (e.g. tt_content.images), only file with the internal_type "file" are deleted. Files of internal_type "file_reference" are respected and will not been deleted. There is an appropriate condition in t3lib_TCEmain::extFileFunctions().
But for flexform fields, this differentiation in handling between both internal_types is missing.
In consequence, using lowlevel_cleaner delete will delete many necessary files...
Files
Actions