{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfCake/crud/issues/386","repository_url":"https://api.github.com/repos/FriendsOfCake/crud","labels_url":"https://api.github.com/repos/FriendsOfCake/crud/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfCake/crud/issues/386/comments","events_url":"https://api.github.com/repos/FriendsOfCake/crud/issues/386/events","html_url":"https://github.com/FriendsOfCake/crud/pull/386","id":132465078,"number":386,"title":"Fallback to default factory for controller","user":{"login":"jadb","id":33527,"avatar_url":"https://avatars.githubusercontent.com/u/33527?v=3","gravatar_id":"","url":"https://api.github.com/users/jadb","html_url":"https://github.com/jadb","followers_url":"https://api.github.com/users/jadb/followers","following_url":"https://api.github.com/users/jadb/following{/other_user}","gists_url":"https://api.github.com/users/jadb/gists{/gist_id}","starred_url":"https://api.github.com/users/jadb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadb/subscriptions","organizations_url":"https://api.github.com/users/jadb/orgs","repos_url":"https://api.github.com/users/jadb/repos","events_url":"https://api.github.com/users/jadb/events{/privacy}","received_events_url":"https://api.github.com/users/jadb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FriendsOfCake/crud/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/FriendsOfCake/crud/milestones/2","html_url":"https://github.com/FriendsOfCake/crud/milestones/4.0.0","labels_url":"https://api.github.com/repos/FriendsOfCake/crud/milestones/2/labels","id":396830,"number":2,"title":"4.0.0","description":"","creator":{"login":"jippi","id":22841,"avatar_url":"https://avatars.githubusercontent.com/u/22841?v=3","gravatar_id":"","url":"https://api.github.com/users/jippi","html_url":"https://github.com/jippi","followers_url":"https://api.github.com/users/jippi/followers","following_url":"https://api.github.com/users/jippi/following{/other_user}","gists_url":"https://api.github.com/users/jippi/gists{/gist_id}","starred_url":"https://api.github.com/users/jippi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jippi/subscriptions","organizations_url":"https://api.github.com/users/jippi/orgs","repos_url":"https://api.github.com/users/jippi/repos","events_url":"https://api.github.com/users/jippi/events{/privacy}","received_events_url":"https://api.github.com/users/jippi/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":51,"state":"open","created_at":"2013-08-07T17:40:04Z","updated_at":"2016-02-11T14:18:28Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-02-09T16:28:29Z","updated_at":"2016-02-24T14:42:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FriendsOfCake/crud/pulls/386","html_url":"https://github.com/FriendsOfCake/crud/pull/386","diff_url":"https://github.com/FriendsOfCake/crud/pull/386.diff","patch_url":"https://github.com/FriendsOfCake/crud/pull/386.patch"},"body":"Right now, if one defines a default factory the cake promoted way using `ModelAwareTrait::modelType()`, the plugin doesn't automatically detect it.\r\n\r\nThis change will fix the behavior and help avoiding to set the factory twice (for controller and for Crud's proxy)."},"comment":{"url":"https://api.github.com/repos/FriendsOfCake/crud/issues/comments/188282893","html_url":"https://github.com/FriendsOfCake/crud/pull/386#issuecomment-188282893","issue_url":"https://api.github.com/repos/FriendsOfCake/crud/issues/386","id":188282893,"user":{"login":"jadb","id":33527,"avatar_url":"https://avatars.githubusercontent.com/u/33527?v=3","gravatar_id":"","url":"https://api.github.com/users/jadb","html_url":"https://github.com/jadb","followers_url":"https://api.github.com/users/jadb/followers","following_url":"https://api.github.com/users/jadb/following{/other_user}","gists_url":"https://api.github.com/users/jadb/gists{/gist_id}","starred_url":"https://api.github.com/users/jadb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadb/subscriptions","organizations_url":"https://api.github.com/users/jadb/orgs","repos_url":"https://api.github.com/users/jadb/repos","events_url":"https://api.github.com/users/jadb/events{/privacy}","received_events_url":"https://api.github.com/users/jadb/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T14:42:14Z","updated_at":"2016-02-24T14:42:14Z","body":"I never figured the failures (digged twice and pinged others for advice). Am not sure they are related."}}