{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-subsites/issues/128","repository_url":"https://api.github.com/repos/silverstripe/silverstripe-subsites","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-subsites/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-subsites/issues/128/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-subsites/issues/128/events","html_url":"https://github.com/silverstripe/silverstripe-subsites/issues/128","id":24606667,"number":128,"title":"SubsitesVirtualPage has_one / has_many relations not available","user":{"login":"sebastiand","id":974056,"avatar_url":"https://avatars.githubusercontent.com/u/974056?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastiand","html_url":"https://github.com/sebastiand","followers_url":"https://api.github.com/users/sebastiand/followers","following_url":"https://api.github.com/users/sebastiand/following{/other_user}","gists_url":"https://api.github.com/users/sebastiand/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiand/subscriptions","organizations_url":"https://api.github.com/users/sebastiand/orgs","repos_url":"https://api.github.com/users/sebastiand/repos","events_url":"https://api.github.com/users/sebastiand/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2013-12-20T06:09:03Z","updated_at":"2016-12-06T20:53:37Z","closed_at":null,"body":"When using a SubsitesVirtualPage referencing a custom Page with has_one or has_many relations, I can't access these relations in the template.\n\nOnly db fields are available. Even the IDs of the relations aren't available...\n\nDoes anyone know where to extend the function calls? Maybe just passing them on to the original Page would work...\n"},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-subsites/issues/comments/265268857","html_url":"https://github.com/silverstripe/silverstripe-subsites/issues/128#issuecomment-265268857","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-subsites/issues/128","id":265268857,"user":{"login":"tractorcow","id":936064,"avatar_url":"https://avatars.githubusercontent.com/u/936064?v=3","gravatar_id":"","url":"https://api.github.com/users/tractorcow","html_url":"https://github.com/tractorcow","followers_url":"https://api.github.com/users/tractorcow/followers","following_url":"https://api.github.com/users/tractorcow/following{/other_user}","gists_url":"https://api.github.com/users/tractorcow/gists{/gist_id}","starred_url":"https://api.github.com/users/tractorcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tractorcow/subscriptions","organizations_url":"https://api.github.com/users/tractorcow/orgs","repos_url":"https://api.github.com/users/tractorcow/repos","events_url":"https://api.github.com/users/tractorcow/events{/privacy}","received_events_url":"https://api.github.com/users/tractorcow/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T20:53:37Z","updated_at":"2016-12-06T20:53:37Z","body":"VirtualPage has been re-written extensively in 4.0, in ways which we couldn't safely do in 3.x without breaking backwards compatibility. Once this is stable and we have upgraded subsites for 4.0 support, I would expect this issue to be resolved."}}
{"actor":{"display_login":"tractorcow"}}