Bug #58288
closedCache that write absolute paths needs PATH_site in cache identifier
100%
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
Updated by Stefano Kowalke over 10 years ago
I encounter the same issue. A possible reason might be a two disk setup. I have a SSD with the OS and a HDD with my $HOME folder, where the $HOME folder on the SSD is just a symlink to the one on the HDD.
$ ll /Users lrwxr-xr-x 1 root admin 23B 15 Jul 2013 sok -> /Volumes/HDD/Users/sok/
So while PATH_site get filled with /Volumes/HDD/Users/Sites/TYPO3/www.introduction.dev, all other functions determine this path /Users/sok/Sites/TYPO3/www.introduction.dev/.
Updated by Gerrit Code Review over 10 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/31565
Updated by Gerrit Code Review over 10 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/31565
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31565
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31565
Updated by Gerrit Code Review over 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31580
Updated by Helmut Hummel over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d3c95a1cd42922d304246b03001347e099895166.