{"action":"created","issue":{"url":"https://api.github.com/repos/zendframework/zend-cache/issues/2","labels_url":"https://api.github.com/repos/zendframework/zend-cache/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zend-cache/issues/2/comments","events_url":"https://api.github.com/repos/zendframework/zend-cache/issues/2/events","html_url":"https://github.com/zendframework/zend-cache/pull/2","id":85110202,"number":2,"title":"Undefined index persistent_id (RedisCache)","user":{"login":"pensiero","id":2010696,"avatar_url":"https://avatars.githubusercontent.com/u/2010696?v=3","gravatar_id":"","url":"https://api.github.com/users/pensiero","html_url":"https://github.com/pensiero","followers_url":"https://api.github.com/users/pensiero/followers","following_url":"https://api.github.com/users/pensiero/following{/other_user}","gists_url":"https://api.github.com/users/pensiero/gists{/gist_id}","starred_url":"https://api.github.com/users/pensiero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pensiero/subscriptions","organizations_url":"https://api.github.com/users/pensiero/orgs","repos_url":"https://api.github.com/users/pensiero/repos","events_url":"https://api.github.com/users/pensiero/events{/privacy}","received_events_url":"https://api.github.com/users/pensiero/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zendframework/zend-cache/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-04T13:53:30Z","updated_at":"2015-06-04T21:32:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zendframework/zend-cache/pulls/2","html_url":"https://github.com/zendframework/zend-cache/pull/2","diff_url":"https://github.com/zendframework/zend-cache/pull/2.diff","patch_url":"https://github.com/zendframework/zend-cache/pull/2.patch"},"body":"I'm trying to create a RedisFactory and I start with a simple\r\n```\r\n\r\n$redisOptions = new RedisOptions();\r\n$redisOptions\r\n    ->setServer($redisServer)\r\n    ->setNamespace('Uala_Redis')\r\n    ->setPersistentId('RDB')\r\n    ->setTtl(3600);\r\n\r\n$redisOptions->setLibOptions([\r\n    \\Redis::OPT_SERIALIZER => \\Redis::SERIALIZER_PHP\r\n]);\r\n\r\n$redis = new Redis($redisOptions);\r\n```\r\n\r\nHowever, when it's initialized I receive this warning:\r\n```\r\n( ! ) Notice: Undefined index: persistent_id in /Users/Oscar/Sites/uala/vendor/zendframework/zendframework/library/Zend/Cache/Storage/Adapter/RedisResourceManager.php on line 267\r\n```\r\n\r\nSomeone know why?\r\n\r\nI'm using redis-server `v3.0.2` and php-redis `v2.2.7`\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/zendframework/zend-cache/issues/comments/109060528","html_url":"https://github.com/zendframework/zend-cache/pull/2#issuecomment-109060528","issue_url":"https://api.github.com/repos/zendframework/zend-cache/issues/2","id":109060528,"user":{"login":"pensiero","id":2010696,"avatar_url":"https://avatars.githubusercontent.com/u/2010696?v=3","gravatar_id":"","url":"https://api.github.com/users/pensiero","html_url":"https://github.com/pensiero","followers_url":"https://api.github.com/users/pensiero/followers","following_url":"https://api.github.com/users/pensiero/following{/other_user}","gists_url":"https://api.github.com/users/pensiero/gists{/gist_id}","starred_url":"https://api.github.com/users/pensiero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pensiero/subscriptions","organizations_url":"https://api.github.com/users/pensiero/orgs","repos_url":"https://api.github.com/users/pensiero/repos","events_url":"https://api.github.com/users/pensiero/events{/privacy}","received_events_url":"https://api.github.com/users/pensiero/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T21:32:42Z","updated_at":"2015-06-04T21:32:42Z","body":"What are your versions of php, php-redis and redis-server? Maybe it's something related to those?"}}