Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Error on Cache disabled #17

Open
SamMnrve opened this issue Jan 12, 2016 · 1 comment
Open

Error on Cache disabled #17

SamMnrve opened this issue Jan 12, 2016 · 1 comment

Comments

@SamMnrve
Copy link

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

@jeremyharris
Copy link
Owner

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants