cacher icon indicating copy to clipboard operation
cacher copied to clipboard

Error on Cache disabled

Open SamMnrve opened this issue 10 years ago • 1 comments

if you disable the cache, the variable source is a null when it does read in the datasource.

if i move the line: $this->source = ConnectionManager::getDataSource($this->config['original']); before the test: if (Configure::read('Cache.disable') === true) {

it's OK

SamMnrve avatar Jan 12 '16 09:01 SamMnrve

@SamMnrve yeah, historically Cacher hasn't been happy when the cache has been disabled app-wide. I'll go through and write some tests and make Cacher behave.

jeremyharris avatar Jan 12 '16 15:01 jeremyharris