{"action":"opened","issue":{"url":"https://api.github.com/repos/impresspages/ImpressPages/issues/819","repository_url":"https://api.github.com/repos/impresspages/ImpressPages","labels_url":"https://api.github.com/repos/impresspages/ImpressPages/issues/819/labels{/name}","comments_url":"https://api.github.com/repos/impresspages/ImpressPages/issues/819/comments","events_url":"https://api.github.com/repos/impresspages/ImpressPages/issues/819/events","html_url":"https://github.com/impresspages/ImpressPages/issues/819","id":188926965,"number":819,"title":"Grid type Grid doesn't work when parent has custom idField","user":{"login":"XEuRoMAN","id":3613663,"avatar_url":"https://avatars.githubusercontent.com/u/3613663?v=3","gravatar_id":"","url":"https://api.github.com/users/XEuRoMAN","html_url":"https://github.com/XEuRoMAN","followers_url":"https://api.github.com/users/XEuRoMAN/followers","following_url":"https://api.github.com/users/XEuRoMAN/following{/other_user}","gists_url":"https://api.github.com/users/XEuRoMAN/gists{/gist_id}","starred_url":"https://api.github.com/users/XEuRoMAN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XEuRoMAN/subscriptions","organizations_url":"https://api.github.com/users/XEuRoMAN/orgs","repos_url":"https://api.github.com/users/XEuRoMAN/repos","events_url":"https://api.github.com/users/XEuRoMAN/events{/privacy}","received_events_url":"https://api.github.com/users/XEuRoMAN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-12T18:33:05Z","updated_at":"2016-11-12T18:33:05Z","closed_at":null,"body":"It looks like `connectionField` always trying to connect tables by `id` in parent table.\r\n\r\nPreview error when `id` doesn't exist in parent table:\r\n```\r\nNotice: Undefined index: id in \\Ip\\Internal\\Grid\\Model\\Field\\Grid.php:76\r\n```\r\n\r\nError when `id` exists (but you still use custom `idField`) and trying to open sub-grid.\r\n\r\n```\r\nFatal error: Uncaught exception 'Ip\\Exception' with message 'girdParentId GET variable missing' in \\Ip\\Internal\\Grid\\Model\\Table.php on line512\r\n\r\nIp\\Exception: girdParentId GET variable missing in \\Ip\\Internal\\Grid\\Model\\Table.php on line 512\r\n```\r\n"}}
{"actor":{"display_login":"XEuRoMAN"}}