Issue Task Closed

#45130Reset deleted flag for existing files

Andreas Wolf 02/04/13, 11:49 updated 06/08/14, 15:53

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).

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.