Bug #62253

FAL exception if file does not exist

Added by Daniel Wagner 10 months ago. Updated 10 months ago.

Status:Accepted Start date:2014-10-15
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:File Abstraction Layer (FAL) Spent time: -
Target version:next-patchlevel
TYPO3 Version:6.2 Is Regression:No
PHP Version:5.3 Sprint Focus:
Complexity:

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.


Related issues

related to Core - Bug #61125: FAL exception if file does not exist Rejected 2014-08-21

History

#1 Updated by Frans Saris 10 months ago

  • Status changed from New to Accepted

Also available in: Atom PDF