{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/acl/issues/77","labels_url":"https://api.github.com/repos/cakephp/acl/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/acl/issues/77/comments","events_url":"https://api.github.com/repos/cakephp/acl/issues/77/events","html_url":"https://github.com/cakephp/acl/issues/77","id":83826492,"number":77,"title":"Error: The datasource configuration \"\" was not found.","user":{"login":"macnie","id":405544,"avatar_url":"https://avatars.githubusercontent.com/u/405544?v=3","gravatar_id":"","url":"https://api.github.com/users/macnie","html_url":"https://github.com/macnie","followers_url":"https://api.github.com/users/macnie/followers","following_url":"https://api.github.com/users/macnie/following{/other_user}","gists_url":"https://api.github.com/users/macnie/gists{/gist_id}","starred_url":"https://api.github.com/users/macnie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macnie/subscriptions","organizations_url":"https://api.github.com/users/macnie/orgs","repos_url":"https://api.github.com/users/macnie/repos","events_url":"https://api.github.com/users/macnie/events{/privacy}","received_events_url":"https://api.github.com/users/macnie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-02T04:08:33Z","updated_at":"2015-09-21T18:18:25Z","closed_at":null,"body":"# throw Error :The datasource configuration \"\" was not found.\r\n\r\n```\r\n<?php\r\nnamespace App\\Model\\Table;\r\nuse Cake\\Event\\Event;\r\nuse Cake\\ORM\\Table;\r\nuse Cake\\ORM\\Entity;\r\nuse Cake\\Validation\\Validator;\r\nclass MenusTable extends Table\r\n{\r\n    public function initialize(array $config)\r\n    {\r\n        $this->addBehavior('Tree');\r\n        $this->addBehavior('Acl.Acl',['type' => 'controlled','alias'=>true]);\r\n    }\r\n```\r\n\r\n# My datasource configureation is fine.\r\n# Acl  bootstrap.php\r\n\r\n```\r\nuse Cake\\Core\\Configure;\r\n\r\nif (!Configure::read('Acl.classname')) {\r\n    Configure::write('Acl.classname', 'DbAcl');\r\n}\r\nif (!Configure::read('Acl.database')) {\r\n    Configure::write('Acl.database', 'default');\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/cakephp/acl/issues/comments/142066006","html_url":"https://github.com/cakephp/acl/issues/77#issuecomment-142066006","issue_url":"https://api.github.com/repos/cakephp/acl/issues/77","id":142066006,"user":{"login":"r0kawa","id":771562,"avatar_url":"https://avatars.githubusercontent.com/u/771562?v=3","gravatar_id":"","url":"https://api.github.com/users/r0kawa","html_url":"https://github.com/r0kawa","followers_url":"https://api.github.com/users/r0kawa/followers","following_url":"https://api.github.com/users/r0kawa/following{/other_user}","gists_url":"https://api.github.com/users/r0kawa/gists{/gist_id}","starred_url":"https://api.github.com/users/r0kawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r0kawa/subscriptions","organizations_url":"https://api.github.com/users/r0kawa/orgs","repos_url":"https://api.github.com/users/r0kawa/repos","events_url":"https://api.github.com/users/r0kawa/events{/privacy}","received_events_url":"https://api.github.com/users/r0kawa/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T18:18:25Z","updated_at":"2015-09-21T18:18:25Z","body":"Have you create the aros/acos table ? "}}