Project

General

Profile

Actions

Bug #62253

closed

FAL exception if file does not exist

Added by Daniel Wagner about 10 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-10-15
Due date:
% Done:

100%

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

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 1 (0 open1 closed)

Related to TYPO3 Core - Bug #61125: FAL exception if file does not existRejected2014-08-21

Actions
Actions #1

Updated by Frans Saris about 10 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Mathias Schreiber about 9 years ago

  • Target version deleted (next-patchlevel)
Actions #3

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 :)

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Susanne Moog over 4 years ago

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

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF