Fix issue with Redis Cache adapter whereby setOption was being called before connecting to Redis server #4577

Closed
wants to merge 1 commit into from

3 participants

@Tomdarkness

You can't call setOption until you've connected to Redis. Not really sure why this is the case but this is how the phpredis extension behaves.

See issue #4576

@marc-mabe
Zend Framework member

Thank you to find that out. The fix looks good but could you add a test please.

@weierophinney
Zend Framework member

Ping @Tomdarkness -- would love to have this in 2.2.1, but we need a test case; can you get one to us in the next 1-2 days, please?

@weierophinney weierophinney added a commit that closed this pull request Jun 11, 2013
@weierophinney weierophinney Merge branch 'hotfix/4603'
Close #4603
Fixes #4576
Fixes #4577
b0da7f2
@ghost Unknown pushed a commit that referenced this pull request Jul 14, 2013
@weierophinney weierophinney Merge branch 'hotfix/4603'
Close #4603
Fixes #4576
Fixes #4577
fe9ec2b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment