Bug #73479
closed[BUGFIX] Correctly add backend.css after extRelPath change
100%
Description
Adding StyleSheetDirectories is broken for some environments.
DocumentTemplate tries to add the CSS file "/typo3/sysext/t3skin/Resources/Public/backend.css" instead of "sysext/t3skin/Resources/Public/backend.css"
Files
Updated by Gerrit Code Review almost 9 years ago
- Status changed from New 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/46703
Updated by Patrick Schriner almost 9 years ago
This is what I'm getting in addStyleSheetDirectory()
(just before addCssFile):
array(5 items) func_get_args() => array(1 item) 0 => "/var/www/html/typo3_master/typo3/sysext/t3skin/Resources/Public/Css/" (68 chars) $path => "/var/www/html/typo3_master/typo3/sysext/t3skin/Resources/Public/Css/" (68 chars) $cssFile => "backend.css" (11 chars) PathUtility::getRelativePathTo($path) . $cssFile => "sysext/t3skin/Resources/Public/Css/backend.css" (46 chars) PathUtility::getAbsoluteWebPath($path . $cssFile) => "/typo3/sysext/t3skin/Resources/Public/Css/backend.css" (53 chars)
my TYPO3 is set up as:
/var/www/html/typo3_master/ typo3 -> typo3_src/typo3 typo3_src -> /var/www/typo3/TYPO3.MASTER/typo3
where /var/www/TYPO3.MASTER is a local TYPO3 master git
I'm not running composer mode.
Updated by Gerrit Code Review almost 9 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/46703
Updated by Gerrit Code Review almost 9 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/46703
Updated by Gerrit Code Review almost 9 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/46703
Updated by Patrick Schriner almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 277d9155ee612bfbf5869c73d7c6353abcf4af03.