Project

General

Profile

Actions

Bug #80692

closed

Deleting old files fails

Added by Albrecht Köhnlein over 7 years ago. Updated about 6 years ago.

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

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

I cannot delete an old file, which once was referenced but isn't anymore. I only see a warning like this:

File not deleted
The file cannot be deleted since it is still used at the following places: [record:...]

What I found out until now:

  • records in "sys_file_references" exist, but are marked with "deleted=1"
  • existing file references are checked against "sys_refindex" and not "sys_file_references", before they can be deleted
  • the reference index contains deleted records

Maybe the check before deleting a file should not check against the reference index, but check the real file references?


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #80152: Filelist: File can not be deleted if it was reference onceClosed2017-03-06

Actions
Actions

Also available in: Atom PDF