Project

General

Profile

Actions

Bug #67573

closed

Insufficient detection of changed files in FAL indexer

Added by Daniel Maier almost 9 years ago. Updated over 6 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 #1

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40495

Actions #2

Updated by Daniel Maier almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Mathias Schreiber almost 9 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions #4

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF