{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/2037","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/2037/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/2037/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/2037/events","html_url":"https://github.com/magento/magento2/pull/2037","id":109988504,"number":2037,"title":"Correct the error message when creating wrong object for block","user":{"login":"hiephm","id":1839034,"avatar_url":"https://avatars.githubusercontent.com/u/1839034?v=3","gravatar_id":"","url":"https://api.github.com/users/hiephm","html_url":"https://github.com/hiephm","followers_url":"https://api.github.com/users/hiephm/followers","following_url":"https://api.github.com/users/hiephm/following{/other_user}","gists_url":"https://api.github.com/users/hiephm/gists{/gist_id}","starred_url":"https://api.github.com/users/hiephm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiephm/subscriptions","organizations_url":"https://api.github.com/users/hiephm/orgs","repos_url":"https://api.github.com/users/hiephm/repos","events_url":"https://api.github.com/users/hiephm/events{/privacy}","received_events_url":"https://api.github.com/users/hiephm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/bugfix","name":"bugfix","color":"006b75"},{"url":"https://api.github.com/repos/magento/magento2/labels/Frontend","name":"Frontend","color":"1d76db"},{"url":"https://api.github.com/repos/magento/magento2/labels/needs%20update","name":"needs update","color":"b60205"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-10-06T11:32:01Z","updated_at":"2016-08-31T06:49:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/magento/magento2/pulls/2037","html_url":"https://github.com/magento/magento2/pull/2037","diff_url":"https://github.com/magento/magento2/pull/2037.diff","patch_url":"https://github.com/magento/magento2/pull/2037.patch"},"body":"In case the $block is neither string nor AbstractBlock (e.g in case use wrong class for block), the error message will become:\r\n```\r\nInvalid block type: %1\r\n```\r\nShould add the check for object and use get_class in that case."},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/243674117","html_url":"https://github.com/magento/magento2/pull/2037#issuecomment-243674117","issue_url":"https://api.github.com/repos/magento/magento2/issues/2037","id":243674117,"user":{"login":"hiephm","id":1839034,"avatar_url":"https://avatars.githubusercontent.com/u/1839034?v=3","gravatar_id":"","url":"https://api.github.com/users/hiephm","html_url":"https://github.com/hiephm","followers_url":"https://api.github.com/users/hiephm/followers","following_url":"https://api.github.com/users/hiephm/following{/other_user}","gists_url":"https://api.github.com/users/hiephm/gists{/gist_id}","starred_url":"https://api.github.com/users/hiephm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiephm/subscriptions","organizations_url":"https://api.github.com/users/hiephm/orgs","repos_url":"https://api.github.com/users/hiephm/repos","events_url":"https://api.github.com/users/hiephm/events{/privacy}","received_events_url":"https://api.github.com/users/hiephm/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T06:49:49Z","updated_at":"2016-08-31T06:49:49Z","body":"@MomotenkoNatalia OK, I have updated the code."}}
{"actor":{"display_login":"hiephm"}}