Project

General

Profile

Actions

Bug #73479

closed

[BUGFIX] Correctly add backend.css after extRelPath change

Added by Patrick Schriner almost 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-02-16
Due date:
% Done:

100%

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

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

backend-without-css.png (137 KB) backend-without-css.png Patrick Schriner, 2016-02-16 11:59

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #73225: Use getAbsoluteWebPath instead of extRelPathClosedBenni Mack2016-02-11

Actions
Actions #1

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

Actions #2

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.

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

Updated by Patrick Schriner almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF