Bug #88462
closedIf a file is referenced in content elements, it can be deleted without warnings
100%
Description
Currently deletion of files is prevented only if the file is referenced in records directly (i.e. in the FAL file field via sys_file_refence table). However if the file is referenced in the content element, it can be deleted despite having many references. There will be no any kind of errors or warnings.
This happens in 7/8/9 at least.
Updated by Dmitry Dulepov over 5 years ago
- Subject changed from If file is referenced in content elements, it can be deleted without warnings to If a file is referenced in content elements, it can be deleted without warnings
Updated by Riccardo De Contardi over 5 years ago
Hi Dmitry,
with "file is referenced in content elements" you mean that it is inserted inside the rte_ckeditor?
In this case, I think this is a duplicate of #77866
Thank you for your answer and best regards.
Updated by Gerrit Code Review over 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60846
Updated by Dmitry Dulepov over 5 years ago
Riccardo,
Yes, it the same. I searched by subject but could not find the issue you mentioned. I will update the patch to reference them both.
Updated by Gerrit Code Review over 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60846
Updated by Dmitry Dulepov over 5 years ago
- Related to Bug #77866: Link to file in RTE does not prevent deleting this file in the File List added
Updated by Dmitry Dulepov over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b3e7511065ad5cb652c94cd3e8344af25dcb71f6.
Updated by Gerrit Code Review over 5 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61534
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61535
Updated by Dmitry Dulepov over 5 years ago
- Status changed from Under Review to Resolved
Applied in changeset f5fdcfb32b00993ee86593a1e8f718d2e7bba0be.
Updated by Benni Mack almost 5 years ago
- Status changed from Resolved to Closed