{"action":"closed","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/6215","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/6215/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/6215/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/6215/events","html_url":"https://github.com/cakephp/cakephp/issues/6215","id":65213788,"number":6215,"title":"CakeRequest undefined variable $baseUrl ","user":{"login":"michaelmafort","id":1412665,"avatar_url":"https://avatars.githubusercontent.com/u/1412665?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelmafort","html_url":"https://github.com/michaelmafort","followers_url":"https://api.github.com/users/michaelmafort/followers","following_url":"https://api.github.com/users/michaelmafort/following{/other_user}","gists_url":"https://api.github.com/users/michaelmafort/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelmafort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelmafort/subscriptions","organizations_url":"https://api.github.com/users/michaelmafort/orgs","repos_url":"https://api.github.com/users/michaelmafort/repos","events_url":"https://api.github.com/users/michaelmafort/events{/privacy}","received_events_url":"https://api.github.com/users/michaelmafort/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Question","name":"Question","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/34","html_url":"https://github.com/cakephp/cakephp/milestones/2.6.4","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/34/labels","id":1022576,"number":34,"title":"2.6.4","description":"Bugfixes and optimizations for the 2.6 release series","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":23,"state":"open","created_at":"2015-03-16T02:13:29Z","updated_at":"2015-03-30T17:03:52Z","due_on":"2015-04-19T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-03-30T13:34:26Z","updated_at":"2015-03-30T17:03:52Z","closed_at":"2015-03-30T17:03:52Z","body":"Please consider using isset() function in condition of check if variable exist instead of !$variableName.\r\n\r\nI found an error in my test case when using Mocked Controller, the error is in cakephp/lib/Cake/Network/CakeRequest.php: 296\r\n\r\nif (!$baseUrl) {"}}