markstory/asset_compress — Issue #95: Filters are being ignored
Author: Adrastos
Created: 2012-02-02 08:16:58+00:00
State: open

All filters[] in config are ignored.

The reason is in Lib/AssetConfig::filters(). It expects filters to be in $this->_data[$ext][self::FILTERS], otherwise it returns an empty array and no filters are proccessed. But filters comes in $this->_data[$ext][self::TARGETS][$target][self::FILTERS].

Commenting out the following lines solves the problem (filters are proccessed just after this, in the very same function):
//	if (!isset($this->_data[$ext][self::FILTERS])) {
//	return array();
//	}