Actions
Bug #54415
closedFile indexer does not detect indentical files in the other storages
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:
- Create two local storage
- place the same file in both storage (file name does not matter, only content)
- create two indexer tasks for both storage
- run the indexer task for the first storage and check the database: the file is present in sys_file
- 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.
Actions