Bug #29695
closedt3lib_Compressor fails with external files
100%
Description
Externally-referenced files such as
page.includeJSlibs { jquery = http://code.jquery.com/jquery-1.6.1.min.js jquery.external = 1 }
fail to be concatenated/compressed because the "external" flag is lost in tslib_pagegen, around line 693.
This is the case if one activates compression and/or concatenation:
config.compressJs = 1 config.concatenateJs = 1
The compressor then searches for a local file, cannot find it by prepending TYPO3_path and thus fails to handle it.
If compression/concatenation is not deactivated, it should naturally be locally stored prior to being concatenated/compressed or should alternatively be dynamically retrieved and compressed/concatenated on the fly.
The same applies for external CSS files
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change Idd02d85c98811167cccafd2e6a6a96fefda6a936 has been pushed to the review server.
It is available at http://review.typo3.org/4924
Updated by Xavier Perseguers about 13 years ago
- Status changed from New to Under Review
- Assignee set to Xavier Perseguers
Updated by Xavier Perseguers about 13 years ago
Configuration options for compressor: http://wiki.typo3.org/TYPO3_4.6#JS.2FCSS_Compression
Updated by Xavier Perseguers about 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Complexity set to easy
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed