Issue Bug Closed

#24077modernizr inclusion triggers compressor bug

Björn Pedersen 11/16/10, 10:40 updated 10/02/18, 12:23

Description

The modernizr js is not resolved correctly by the compressor. It seems the backpath is missing for the js-file. The other core js-files are included by absolute path directly.

PHP Warning
PHP Warning: filemtime() [function.filemtime]: stat failed for /home/webmaster/frm2/typo3/modernizr.min.js in /home/webmaster/frm2/typo3_src_svn/t3lib/class.t3lib_compressor.php line 294
PHP Warning
PHP Warning: filesize() [function.filesize]: stat failed for /home/webmaster/frm2/typo3/modernizr.min.js in /home/webmaster/frm2/typo3_src_svn/t3lib/class.t3lib_compressor.php line 294

Some debug output:
[debug] in file user variable debug > Variable scope report
Length Type Name Value
34 String compressJsFiles contrib/modernizr/modernizr.min.js
[debug] in *file* user variable debug > Variable scope report
Length Type Name Value
43 String filenameAbsolute /home/webmaster/frm2/typo3/modernizr.min.js
[debug] in file user variable debug > Variable scope report
Length Type Name Value
39 String compressJsFiles ../../../../typo3/js/iecompatibility.js
[debug] in *file* user variable debug > Variable scope report
Length Type Name Value
48 String filenameAbsolute /home/webmaster/frm2/typo3/js/iecompatibility.js

(issue imported from #M16415)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.