Bug #40052
closeddeleteRecord_flexFormCallBack deletes file_references
100%
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
Updated by Gerrit Code Review about 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16236
Updated by Lorenz Ulrich about 12 years ago
I could not reproduce this in 6.0 master. Therefore I assume that FAL changed quite some things and this applies only to 4.7 and below.
6.0 and below is affected.
Updated by Gerrit Code Review about 12 years ago
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/16237
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/16237
Updated by Gerrit Code Review about 12 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16239
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/16239
Updated by Gerrit Code Review almost 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/16239
Updated by Gerrit Code Review over 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/16239
Updated by Gerrit Code Review almost 11 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/16239
Updated by Gerrit Code Review over 10 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/16239
Updated by Lorenz Ulrich over 10 years ago
I attached a FlexForm configuration that helps reproduce the problem.
Updated by Gerrit Code Review over 10 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/16239
Updated by Gerrit Code Review over 10 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/16239
Updated by Gerrit Code Review almost 10 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/16239
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35687
Updated by Lorenz Ulrich almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fd7027708028a8da03e11ea26c20c4a2293ef840.