Task #45130
Reset deleted flag for existing files
Status: | Closed | Start date: | 2013-02-04 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | File Abstraction Layer (FAL) | Spent time: | - | |
Target version: | 6.0.2 | |||
TYPO3 Version: | 6.0 | Complexity: | ||
PHP Version: | Sprint Focus: |
Description
Files are included in the file listing even if their sys_file record as "deleted" set to 1. This leads to various problems (as described e.g. in #45109). Therefore, some background process should reset the deleted flag for existing files.
Ideally, this should be done whenever a file object is filled with the index record. I am however not sure if the File class is the right place for such a task.
We should at least have a scheduler task that checks all sys_file records with deleted=1 if the file is really deleted (and reset the flag if it is there).
Related issues
History
#1 Updated by Andreas Wolf over 2 years ago
Additionally, we have to cope with existing, but "deleted" records for files in the indexer. Otherwise, we might have multiple records for one file path, which could lead to various problems.
#2 Updated by Chris topher almost 2 years ago
The deleted flag has been removed in master, 6.1.5 and 6.0.10.
Does this fix the issue?
#3 Updated by Frans Saris over 1 year ago
This issue can be closed is resolved with introducing the is missing flag.
#4 Updated by Frans Saris about 1 year ago
- Status changed from Accepted to Closed