Bug #62253
closedFAL exception if file does not exist
100%
Description
Hello,
trying to migrate a 4.5 LTS to a 6.2.5 LTS system, which remains on the same machine with [SYS][UTF8filesystem]=0 (to exclude filesystem problems like utf8, case-sensitivity,...). The scheduled FAL-indexer fails due to an exception (Execution of task "File Abstraction Layer: Update storage index (scheduler)" failed with the following message). The Exception is thrown from canonicalizeAndCheckFilePath(...) in \TYPO3\CMS\Core\Resource\Driver\LocalDriver.
The problem is that there are files in fileadmin containing backslashes, questionmarks and other curious chars which should not exist. (Often there exists a copy of the file with chars replaced by underscore.)
Here canonicalizeAndCheckFilePath(...) converts \ into / with the help of PathUtility::getCanonicalPath(...): Prix d\'excellence.pdf -> Prix d/'excellence.pdf.
It would be helpful if the scheduled FAL-indexer would keep track of all these exceptions but continue indexing.
Updated by Mathias Schreiber about 9 years ago
- Target version deleted (
next-patchlevel)
Updated by Daniel Wagner almost 9 years ago
The problem still exists in 6.2.17 and also for migrations to 7.6 LTS because this is the way to go... Thanks for accepting :)
Updated by Gerrit Code Review over 4 years ago
- Status changed from Accepted 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/c/Packages/TYPO3.CMS/+/63815
Updated by Gerrit Code Review over 4 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/c/Packages/TYPO3.CMS/+/63815
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63869
Updated by Susanne Moog over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3699485edd9b1da5a0cfab023facc0363157c46c.