Review main Abandoned Breaking

61203[WIP][!!!][TASK] Remove various side effect features of ResourceCompressor

Benni Mack CR 0 V 0 Normal +14 −55 updated 07/23/19, 09:20

Commit message

ResourceCompressor - since its inception - had a lot of side
effects due to various path "guessing" and special handling
within TYPO3 Backend.

In order to reduce complexity, but also building Resource
Compressor in a way so it is independant from a current request
the following changes have been made:
- setRootPath() is set to "internal", and rootPath is now always the
public path of TYPO3
- concatenateCssFiles() now always concatenates all local files, second method argument is dropped (was used for TBE_STYLES)
- when a CSS/JS merging happens, file references with the current local domain are still treated as external domain
- Files relative to typo3/ (e.g. "sysext/workspaces/...) do not work anymore, as this should all be handled the exact same way (e.g. EXT: or relative to public path)
- Relative files are treated as they are relative from TYPO3's Public Folder

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 5