Actions
Bug #67573
closedInsufficient detection of changed files in FAL indexer
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.
Actions