{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/3287","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/3287/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/3287/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/3287/events","html_url":"https://github.com/phalcon/cphalcon/issues/3287","id":55508311,"number":3287,"title":"[2.0.0] toArray bug","user":{"login":"7thcubic","id":10483025,"avatar_url":"https://avatars.githubusercontent.com/u/10483025?v=3","gravatar_id":"","url":"https://api.github.com/users/7thcubic","html_url":"https://github.com/7thcubic","followers_url":"https://api.github.com/users/7thcubic/followers","following_url":"https://api.github.com/users/7thcubic/following{/other_user}","gists_url":"https://api.github.com/users/7thcubic/gists{/gist_id}","starred_url":"https://api.github.com/users/7thcubic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/7thcubic/subscriptions","organizations_url":"https://api.github.com/users/7thcubic/orgs","repos_url":"https://api.github.com/users/7thcubic/repos","events_url":"https://api.github.com/users/7thcubic/events{/privacy}","received_events_url":"https://api.github.com/users/7thcubic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T17:04:31Z","updated_at":"2015-02-05T20:56:06Z","closed_at":null,"body":"```php\r\nclass Model1 extends Model\r\n{\r\n     public function columnMap()\r\n    {\r\n         return [\"id\" => \"id\", \"field1\" = > \"field1\"];\r\n    }\r\n} \r\n\r\n$m = Model1::find()->toArray(); //doesnt work error \"id\" not part of column map.\r\n```\r\n\r\nOpening of issue. seems like its the workflow"},"comment":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/comments/73126153","html_url":"https://github.com/phalcon/cphalcon/issues/3287#issuecomment-73126153","issue_url":"https://api.github.com/repos/phalcon/cphalcon/issues/3287","id":73126153,"user":{"login":"7thcubic","id":10483025,"avatar_url":"https://avatars.githubusercontent.com/u/10483025?v=3","gravatar_id":"","url":"https://api.github.com/users/7thcubic","html_url":"https://github.com/7thcubic","followers_url":"https://api.github.com/users/7thcubic/followers","following_url":"https://api.github.com/users/7thcubic/following{/other_user}","gists_url":"https://api.github.com/users/7thcubic/gists{/gist_id}","starred_url":"https://api.github.com/users/7thcubic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/7thcubic/subscriptions","organizations_url":"https://api.github.com/users/7thcubic/orgs","repos_url":"https://api.github.com/users/7thcubic/repos","events_url":"https://api.github.com/users/7thcubic/events{/privacy}","received_events_url":"https://api.github.com/users/7thcubic/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T20:56:06Z","updated_at":"2015-02-05T20:56:06Z","body":"found the issue, apparently public function columnMap()  is compulsory now."}}