Project

General

Profile

Actions

Bug #58288

closed

Cache that write absolute paths needs PATH_site in cache identifier

Added by Helmut Hummel about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-04-28
Due date:
% Done:

100%

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

Description

The package cache writes paths to extension directories (TYPO3_LOADED_EXT) into the cache.

When calling e.g. a TYPO3 cli script from a different directory (due to different mounts) and this
cache does not exist yet, it will be written with absolute paths taken from PATH_site of the cli
When then calling the website, many things will fail as relative path calculations are done with the
current PATH_site

The easiest way to tackle this issue, is to make the caches depend on PATH_site, like it is for ext_tables and ext_localconf caches


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #60737: Symlinks as Document roots are breaking the cacheClosed2014-08-01

Actions
Has duplicate TYPO3 Core - Bug #60224: Package Paths should be relative to TYPO3_siteClosed2014-07-10

Actions
Has duplicate TYPO3 Core - Bug #58952: Inconsistent extension/package relative pathsClosed2014-05-20

Actions
Has duplicate TYPO3 Core - Bug #59088: PathUtility::stripPathSitePrefix() fails with symlinked TYPO3-dirsClosed2014-05-24

Actions
Actions

Also available in: Atom PDF