{"action":"created","issue":{"url":"https://api.github.com/repos/contao/core-bundle/issues/294","labels_url":"https://api.github.com/repos/contao/core-bundle/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/contao/core-bundle/issues/294/comments","events_url":"https://api.github.com/repos/contao/core-bundle/issues/294/events","html_url":"https://github.com/contao/core-bundle/issues/294","id":85810281,"number":294,"title":"MemberGroupModel::findFirstActiveWithJumpToByIds() returns tl_page data","user":{"login":"blairwinans","id":1219241,"avatar_url":"https://avatars.githubusercontent.com/u/1219241?v=3","gravatar_id":"","url":"https://api.github.com/users/blairwinans","html_url":"https://github.com/blairwinans","followers_url":"https://api.github.com/users/blairwinans/followers","following_url":"https://api.github.com/users/blairwinans/following{/other_user}","gists_url":"https://api.github.com/users/blairwinans/gists{/gist_id}","starred_url":"https://api.github.com/users/blairwinans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blairwinans/subscriptions","organizations_url":"https://api.github.com/users/blairwinans/orgs","repos_url":"https://api.github.com/users/blairwinans/repos","events_url":"https://api.github.com/users/blairwinans/events{/privacy}","received_events_url":"https://api.github.com/users/blairwinans/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/contao/core-bundle/labels/defect","name":"defect","color":"bd2c00"},{"url":"https://api.github.com/repos/contao/core-bundle/labels/incompatible","name":"incompatible","color":"fbca04"},{"url":"https://api.github.com/repos/contao/core-bundle/labels/up%20for%20discussion","name":"up for discussion","color":"2a982a"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/contao/core-bundle/milestones/3","html_url":"https://github.com/contao/core-bundle/milestones/5.0.0","labels_url":"https://api.github.com/repos/contao/core-bundle/milestones/3/labels","id":1063300,"number":3,"title":"5.0.0","description":"Contao 5.0.0 (major release)","creator":{"login":"leofeyer","id":1192057,"avatar_url":"https://avatars.githubusercontent.com/u/1192057?v=3","gravatar_id":"","url":"https://api.github.com/users/leofeyer","html_url":"https://github.com/leofeyer","followers_url":"https://api.github.com/users/leofeyer/followers","following_url":"https://api.github.com/users/leofeyer/following{/other_user}","gists_url":"https://api.github.com/users/leofeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/leofeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leofeyer/subscriptions","organizations_url":"https://api.github.com/users/leofeyer/orgs","repos_url":"https://api.github.com/users/leofeyer/repos","events_url":"https://api.github.com/users/leofeyer/events{/privacy}","received_events_url":"https://api.github.com/users/leofeyer/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-04-11T17:56:07Z","updated_at":"2015-06-08T12:44:06Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-06-06T20:36:43Z","updated_at":"2015-08-13T18:34:58Z","closed_at":null,"body":"The naming of the function seems like it should do what it says, which is to find and return a MemberGroupModel—which it does.\r\n\r\nHowever, the data returned is from a tl_page Database result (see [line 111](https://github.com/contao/core-bundle/blob/release/4.0.0/src/Resources/contao/models/MemberGroupModel.php#L111))\r\n\r\nThat should be a PageModel. It seems like something is not clear, and I assume this also goes back to other Contao versions. What is being returned should be clarified."},"comment":{"url":"https://api.github.com/repos/contao/core-bundle/issues/comments/130794062","html_url":"https://github.com/contao/core-bundle/issues/294#issuecomment-130794062","issue_url":"https://api.github.com/repos/contao/core-bundle/issues/294","id":130794062,"user":{"login":"leofeyer","id":1192057,"avatar_url":"https://avatars.githubusercontent.com/u/1192057?v=3","gravatar_id":"","url":"https://api.github.com/users/leofeyer","html_url":"https://github.com/leofeyer","followers_url":"https://api.github.com/users/leofeyer/followers","following_url":"https://api.github.com/users/leofeyer/following{/other_user}","gists_url":"https://api.github.com/users/leofeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/leofeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leofeyer/subscriptions","organizations_url":"https://api.github.com/users/leofeyer/orgs","repos_url":"https://api.github.com/users/leofeyer/repos","events_url":"https://api.github.com/users/leofeyer/events{/privacy}","received_events_url":"https://api.github.com/users/leofeyer/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T18:34:57Z","updated_at":"2015-08-13T18:34:57Z","body":"As discussed on Mumble on August 13th, we want to add a `findFirstActiveByMemberGroups($ids = [])` method in the `PageModel` class and deprecate the other method."}}