Project

General

Profile

Actions

Bug #54414

closed

File indexer does not detect missing files if no files in storage

Added by Alexander Stehlik almost 11 years ago. Updated about 6 years ago.

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

100%

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

Description

If no files are left in the storage, the detection of missing file will fail.

The reason for this is that Indexer->detectMissingFiles() checks if the $identifiedFileUids class variable is not empty. But if no files are left in the storage it will be empty and all remaining files in the storage are missing at this point.

Actions #1

Updated by Steffen Ritter almost 11 years ago

  • Target version deleted (6.2.0)
Actions #2

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New 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 https://review.typo3.org/30534

Actions #3

Updated by Robert Vock over 10 years ago

FileIndexRepository::findInStorageAndNotInUidList() needs a non-empty $uidList. That's why I use array(0) when $identifiedFileUids is empty.

Actions #4

Updated by Gerrit Code Review over 10 years ago

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

Actions #5

Updated by Gerrit Code Review over 10 years ago

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

Actions #6

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31427

Actions #7

Updated by Robert Vock over 10 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF