Project

General

Profile

Actions

Bug #40052

closed

deleteRecord_flexFormCallBack deletes file_references

Added by Julian Hofmann over 11 years ago. Updated over 5 years ago.

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

test_deletereference_callback.xml (698 Bytes) test_deletereference_callback.xml Lorenz Ulrich, 2014-06-12 15:36
Actions

Also available in: Atom PDF