Project

General

Profile

Actions

Bug #52848

closed

ClassLoader fails when typo3temp is symlink

Added by Thorsten Kahler over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2013-10-15
Due date:
% Done:

0%

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

Description

Method \TYPO3\CMS\Core\Cache\Backend\ClassLoaderBackend::setLinkToPhpFile() uses __DIR__ to construct the path to the file to be included. This fails when folder typo3temp is symlinked.

Quick fix: use getcwd() instead of __DIR__. But since the constructed files are caches for path resolving (as far as I understand) the absolute path should be written to the cache (= PHP file) instead of being calculated there.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #52885: cache_classes crashes after command line requestClosed2013-10-16

Actions
Actions #1

Updated by Alexander Stehlik over 10 years ago

I think this would be fixed with the patch for #52885.

Actions #2

Updated by Thorsten Kahler over 10 years ago

  • Status changed from New to Rejected

Alexander Stehlik wrote:

I think this would be fixed with the patch for #52885.

Indeed. I close it as a duplicate of #52885.

Actions #3

Updated by Gerrit Code Review over 10 years ago

  • Status changed from Rejected to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24867

Actions #4

Updated by Thorsten Kahler over 10 years ago

  • Status changed from Under Review to Rejected
Actions

Also available in: Atom PDF