Actions
Bug #80692
closedDeleting old files fails
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?
Actions