Issue Bug Closed

#73986Regression: Change in ResourceCompressor prevents creation of compressed CSS files

Michiel Roos 03/02/16, 22:23 updated 10/17/17, 23:07

Description

Introduced in Change-Id: If72f3ef4b385c253e610c11ea920cc1fab48edff
Commit: 5ee15e4a41b4b6e85196358ce6af357c34ca1358

https://review.typo3.org/#/c/46821/4/typo3/sysext/core/Classes/Resource/ResourceCompressor.php@356

Instances of (PATH_site . $targetFile) were replaced by $filenameAbsolute. These do NOT yield similar strings.

For example:

“/var/www/dev-master.local.typo3.org/typo3/sysext/t3skin/Resources/Public/Css/backend.css“
is not equal to
”/var/www/dev-master.local.typo3.org/typo3temp/assets/compressed/backend-38ec86af21587926c000b6e8facff914.css”

The $filenameAbsolute most likely already exists, so the ‘creation’ of the compressed resource is skipped.

Reviews 1