Project

General

Profile

Actions

Bug #24077

closed

modernizr inclusion triggers compressor bug

Added by Björn Pedersen about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-11-16
Due date:
% Done:

0%

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

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)

Actions

Also available in: Atom PDF