{"action":"closed","issue":{"url":"https://api.github.com/repos/octobercms/october/issues/1394","repository_url":"https://api.github.com/repos/octobercms/october","labels_url":"https://api.github.com/repos/octobercms/october/issues/1394/labels{/name}","comments_url":"https://api.github.com/repos/octobercms/october/issues/1394/comments","events_url":"https://api.github.com/repos/octobercms/october/issues/1394/events","html_url":"https://github.com/octobercms/october/issues/1394","id":103320279,"number":1394,"title":"Partial components inaccessible in life-cycle functions(onEnd)","user":{"login":"HwapX","id":1768853,"avatar_url":"https://avatars1.githubusercontent.com/u/1768853?v=4","gravatar_id":"","url":"https://api.github.com/users/HwapX","html_url":"https://github.com/HwapX","followers_url":"https://api.github.com/users/HwapX/followers","following_url":"https://api.github.com/users/HwapX/following{/other_user}","gists_url":"https://api.github.com/users/HwapX/gists{/gist_id}","starred_url":"https://api.github.com/users/HwapX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HwapX/subscriptions","organizations_url":"https://api.github.com/users/HwapX/orgs","repos_url":"https://api.github.com/users/HwapX/repos","events_url":"https://api.github.com/users/HwapX/events{/privacy}","received_events_url":"https://api.github.com/users/HwapX/received_events","type":"User","site_admin":false},"labels":[{"id":330615855,"url":"https://api.github.com/repos/octobercms/october/labels/Priority:%20Low","name":"Priority: Low","color":"009800","default":false},{"id":143615180,"url":"https://api.github.com/repos/octobercms/october/labels/Status:%20Review%20Needed","name":"Status: Review Needed","color":"fbca04","default":false},{"id":143615025,"url":"https://api.github.com/repos/octobercms/october/labels/Type:%20Unconfirmed%20Bug","name":"Type: Unconfirmed Bug","color":"f7c6c7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-08-26T16:59:26Z","updated_at":"2017-10-19T15:52:46Z","closed_at":"2017-10-19T15:52:46Z","author_association":"NONE","body":"With build 290 I can not access components in the 'onEnd' life-cycle function.\n\nSteps to reproduce:\nCreate an partial _post-list_.\nAdd **Post List** component from **RainLab\\Blog** plugin.\nIn markup tab render it.\n\n```\n{% component 'blogPosts' %}\n```\n\nin code tab add the following code.\n\n```\nfunction onEnd() {\n    var_dump($this->blogPosts);\n}\n```\n\nCreate an page _blog_ and render the partial.\n\n```\n{% partial 'post-list' %}\n```\n\nCreate some dummy posts and preview the page.\n\nYou will see that the component was rendered, but `var_dump` prints `null`\n"}}
{"actor":{"display_login":"LukeTowers"}}