Project

General

Profile

Actions

Bug #61317

closed

PackageManager caches absolute paths for different PATH_site

Added by Nils Blattner over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
composer
Target version:
-
Start date:
2014-09-02
Due date:
% Done:

0%

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

Description

Hi there

In some cases, when using a setup with several different domains and symlinks to the same folder, it can happen that the extension paths get resolved in a wrong way.

This happens in
\TYPO3\CMS\Core\Utility\PathUtility::stripPathSitePrefix()
when the cached extension path (absolute from the cached Packages) is stripped from the current PATH_site.
This results in something like "o3conf/ext/...", because the current PATH_site is longer than the cached version.

Either this should be addressed by default using the PATH_site in the caching identifier or, if this is too strict, by way of configuring it.

=> I made a patch using the old $GLOBALS['TYPO3_CONF_VARS']['EXT']['extCache'] variable

Please let me know what you think.

Cheers Nils


Files

20140902-PackageManager.php (753 Bytes) 20140902-PackageManager.php Nils Blattner, 2014-09-02 15:44

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #57950: Respect PATH_site while creating cacheIdentifierClosed2014-04-15

Actions
Related to TYPO3 Core - Bug #57601: Upgrading 6.2: PHP Fatal error: Uncaught exception 'TYPO3\\Flow\\Package\\Exception\\PackageStatesFileNotWritableExceptionClosed2014-04-03

Actions
Related to TYPO3 Core - Bug #53215: Rename symlink of typo3_src results in fatal errorClosed2013-10-30

Actions
Actions

Also available in: Atom PDF