Issue Bug Closed

#61317PackageManager caches absolute paths for different PATH_site

Nils Blattner 09/02/14, 15:44 updated 11/16/18, 10:05

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.