Bug #54414
closedFile indexer does not detect missing files if no files in storage
100%
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.
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
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.
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
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
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
Updated by Robert Vock over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 108f07040a55b6893c2e901439f6763d2d083a77.