Project

General

Profile

Actions

Bug #54415

closed

File indexer does not detect indentical files in the other storages

Added by Alexander Stehlik almost 11 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-12-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

How to test:

  1. Create two local storage
  2. place the same file in both storage (file name does not matter, only content)
  3. create two indexer tasks for both storage
  4. run the indexer task for the first storage and check the database: the file is present in sys_file
  5. runt the indexer task for the second storage and check the database: the files are missing in sys_file

I think the reason can be found in the processChangedAndNewFiles() method of the Indexer. It gets the file from the index repository only by content hash without respecting the storage.

The file from the other storage so the indexer thinks the file already exist and will not create a new entry.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #60764: \TYPO3\CMS\Core\Resource\Index::processChangedAndNewFiles() not indexing files with same hashClosedFrans Saris2014-08-04

Actions
Has duplicate TYPO3 Core - Bug #57069: FAL indexer task doesn't support storages below storagesClosed2014-03-19

Actions
Actions

Also available in: Atom PDF