{"pull_request":{"state":"closed","merged_by":{"avatar_url":"https://secure.gravatar.com/avatar/c44ab7aed2bd14539fafb9175fcf2085?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c44ab7aed2bd14539fafb9175fcf2085","url":"https://api.github.com/users/willdurand","login":"willdurand","id":217628},"deletions":0,"user":{"avatar_url":"https://secure.gravatar.com/avatar/ea3ae91f86087759a2837faaf3ab1bd2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ea3ae91f86087759a2837faaf3ab1bd2","url":"https://api.github.com/users/leblanc-simon","login":"leblanc-simon","id":605746},"updated_at":"2011-11-09T22:26:04Z","base":{"ref":"master","repo":{"name":"Propel","fork":false,"master_branch":null,"pushed_at":"2011-11-09T22:26:05Z","open_issues":38,"clone_url":"https://github.com/propelorm/Propel.git","updated_at":"2011-11-09T22:26:05Z","homepage":"http://www.propelorm.org/","forks":50,"private":false,"language":"PHP","svn_url":"https://svn.github.com/propelorm/Propel","url":"https://api.github.com/repos/propelorm/Propel","owner":{"avatar_url":"https://secure.gravatar.com/avatar/ca0e56f4258c43a2890f78e936f2da8f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"ca0e56f4258c43a2890f78e936f2da8f","url":"https://api.github.com/users/propelorm","login":"propelorm","id":954795},"html_url":"https://github.com/propelorm/Propel","description":"Propel is an open-source Object-Relational Mapping (ORM) for PHP5.","size":1292,"id":2144619,"watchers":165,"git_url":"git://github.com/propelorm/Propel.git","created_at":"2011-08-02T19:33:19Z","ssh_url":"git@github.com:propelorm/Propel.git"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/ca0e56f4258c43a2890f78e936f2da8f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"ca0e56f4258c43a2890f78e936f2da8f","url":"https://api.github.com/users/propelorm","login":"propelorm","id":954795},"label":"propelorm:master","sha":"edeced4b2ee8d6cac0e75cec7193736c6fda775b"},"closed_at":"2011-11-09T22:26:04Z","commits":1,"comments":0,"diff_url":"https://github.com/propelorm/Propel/pull/187.diff","merged":true,"head":{"ref":"master","repo":{"name":"Propel","fork":true,"master_branch":null,"pushed_at":"2011-11-09T22:04:42Z","open_issues":0,"clone_url":"https://github.com/leblanc-simon/Propel.git","updated_at":"2011-11-09T22:04:42Z","homepage":"http://www.propelorm.org/","forks":0,"private":false,"language":"PHP","svn_url":"https://svn.github.com/leblanc-simon/Propel","url":"https://api.github.com/repos/leblanc-simon/Propel","owner":{"avatar_url":"https://secure.gravatar.com/avatar/ea3ae91f86087759a2837faaf3ab1bd2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ea3ae91f86087759a2837faaf3ab1bd2","url":"https://api.github.com/users/leblanc-simon","login":"leblanc-simon","id":605746},"html_url":"https://github.com/leblanc-simon/Propel","description":"Propel is an open-source Object-Relational Mapping (ORM) for PHP5.","size":140,"id":2744398,"watchers":1,"git_url":"git://github.com/leblanc-simon/Propel.git","created_at":"2011-11-09T20:48:34Z","ssh_url":"git@github.com:leblanc-simon/Propel.git"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/ea3ae91f86087759a2837faaf3ab1bd2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ea3ae91f86087759a2837faaf3ab1bd2","url":"https://api.github.com/users/leblanc-simon","login":"leblanc-simon","id":605746},"label":"leblanc-simon:master","sha":"0f3eee9778caf30db0d541fe9f0b14498baa3743"},"url":"https://api.github.com/repos/propelorm/Propel/pulls/187","additions":1,"merged_at":"2011-11-09T22:26:04Z","body":"The BasePeer class is use in the method added with this behavior. But BasePeer isn't declared in the Query classes.\r\n\r\nWhen you use query_cache with name space, you got : \"Fatal error: Class 'OpenSondage\\Database\\om\\BasePeer' not found\" because BasePeer is use without there namespace \"BasePeer\" and not \"\\BasePeer\"\r\n\r\nOnly declare BasePeer class in the behavior to solve the problem (for add \"use \\BasePeer\" in the Query classe)\r\n\r\n\r\nTo reproduce the error : https://gist.github.com/1353309","review_comments":0,"_links":{"comments":{"href":"https://api.github.com/repos/propelorm/Propel/issues/187/comments"},"html":{"href":"https://github.com/propelorm/Propel/pull/187"},"review_comments":{"href":"https://api.github.com/repos/propelorm/Propel/pulls/187/comments"},"self":{"href":"https://api.github.com/repos/propelorm/Propel/pulls/187"}},"html_url":"https://github.com/propelorm/Propel/pull/187","issue_url":"https://github.com/propelorm/Propel/issues/187","number":187,"title":"Bug in query_cache behavior when it use with namespace","mergeable":null,"id":479900,"patch_url":"https://github.com/propelorm/Propel/pull/187.patch","changed_files":1,"created_at":"2011-11-09T22:22:38Z"},"action":"closed","number":187}