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

Also available in: Atom PDF