Issue Bug Closed

#40052deleteRecord_flexFormCallBack deletes file_references

Julian Hofmann 08/22/12, 14:59 updated 10/02/18, 12:15

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…

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.