Project

General

Profile

Actions

Task #45130

closed

Reset deleted flag for existing files

Added by Andreas Wolf about 11 years ago. Updated almost 10 years ago.

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

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
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 1 (0 open1 closed)

Blocks TYPO3 Core - Bug #45109: Editing the file content of a file marked as deleted result in exceptionClosed2013-02-03

Actions
Actions #1

Updated by Andreas Wolf about 11 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.

Actions #2

Updated by Chris topher over 10 years ago

The deleted flag has been removed in master, 6.1.5 and 6.0.10.

Does this fix the issue?

Actions #3

Updated by Frans Saris over 10 years ago

This issue can be closed is resolved with introducing the is missing flag.

Actions #4

Updated by Frans Saris almost 10 years ago

  • Status changed from Accepted to Closed
Actions

Also available in: Atom PDF