Project

General

Profile

Actions

Bug #88462

closed

If a file is referenced in content elements, it can be deleted without warnings

Added by Dmitry Dulepov over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2019-05-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #77866: Link to file in RTE does not prevent deleting this file in the File ListClosed2016-09-06

Actions
Actions #1

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
Actions #2

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.

Actions #3

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

Actions #4

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.

Actions #5

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

Actions #6

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
Actions #7

Updated by Dmitry Dulepov over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

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

Actions #9

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

Actions #10

Updated by Dmitry Dulepov over 5 years ago

  • Status changed from Under Review to Resolved
Actions #11

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF