Project

General

Profile

Actions

Bug #67573

closed

Insufficient detection of changed files in FAL indexer

Added by Daniel Maier over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2015-06-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

The detectChangedFilesInStorage in FAL indexer detects changed files only if their mtime (modification_date) is newer than the modification_date registered in the corresponding sys_file-record.

But a newer mtime is not the only identifiert of a changed file. For example, if a file is replaced with another - but older one - the mtime of the "new" file might be older than the mtime of the previous file. So if a file with "older" mtime is just copied / upload in order to replace an existing one, the re-indexing is not done.

So we do not only have to check for never mtimes here, but for different mtime.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #75421: Faulty change detection in FAL indexerClosed2016-04-06

Actions
Actions

Also available in: Atom PDF