{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material2/issues/6831","repository_url":"https://api.github.com/repos/angular/material2","labels_url":"https://api.github.com/repos/angular/material2/issues/6831/labels{/name}","comments_url":"https://api.github.com/repos/angular/material2/issues/6831/comments","events_url":"https://api.github.com/repos/angular/material2/issues/6831/events","html_url":"https://github.com/angular/material2/issues/6831","id":255084687,"number":6831,"title":"[Table] Uninitialized columns cause error in table","user":{"login":"jlangnli","id":31627605,"avatar_url":"https://avatars2.githubusercontent.com/u/31627605?v=4","gravatar_id":"","url":"https://api.github.com/users/jlangnli","html_url":"https://github.com/jlangnli","followers_url":"https://api.github.com/users/jlangnli/followers","following_url":"https://api.github.com/users/jlangnli/following{/other_user}","gists_url":"https://api.github.com/users/jlangnli/gists{/gist_id}","starred_url":"https://api.github.com/users/jlangnli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlangnli/subscriptions","organizations_url":"https://api.github.com/users/jlangnli/orgs","repos_url":"https://api.github.com/users/jlangnli/repos","events_url":"https://api.github.com/users/jlangnli/events{/privacy}","received_events_url":"https://api.github.com/users/jlangnli/received_events","type":"User","site_admin":false},"labels":[{"id":377364335,"url":"https://api.github.com/repos/angular/material2/labels/has%20pr","name":"has pr","color":"d4c5f9","default":false},{"id":647682927,"url":"https://api.github.com/repos/angular/material2/labels/md-table","name":"md-table","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":{"login":"andrewseguin","id":22898577,"avatar_url":"https://avatars3.githubusercontent.com/u/22898577?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewseguin","html_url":"https://github.com/andrewseguin","followers_url":"https://api.github.com/users/andrewseguin/followers","following_url":"https://api.github.com/users/andrewseguin/following{/other_user}","gists_url":"https://api.github.com/users/andrewseguin/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewseguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewseguin/subscriptions","organizations_url":"https://api.github.com/users/andrewseguin/orgs","repos_url":"https://api.github.com/users/andrewseguin/repos","events_url":"https://api.github.com/users/andrewseguin/events{/privacy}","received_events_url":"https://api.github.com/users/andrewseguin/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrewseguin","id":22898577,"avatar_url":"https://avatars3.githubusercontent.com/u/22898577?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewseguin","html_url":"https://github.com/andrewseguin","followers_url":"https://api.github.com/users/andrewseguin/followers","following_url":"https://api.github.com/users/andrewseguin/following{/other_user}","gists_url":"https://api.github.com/users/andrewseguin/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewseguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewseguin/subscriptions","organizations_url":"https://api.github.com/users/andrewseguin/orgs","repos_url":"https://api.github.com/users/andrewseguin/repos","events_url":"https://api.github.com/users/andrewseguin/events{/privacy}","received_events_url":"https://api.github.com/users/andrewseguin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2017-09-04T16:27:47Z","updated_at":"2017-09-06T07:16:13Z","closed_at":null,"author_association":"NONE","body":"#### Bug, feature request, or proposal:\r\n\r\nHi, I am new to angular. I copy the example for md-table and trying to run it, but it says:\r\n\r\nMyComponent.html:17 ERROR TypeError: Cannot read property 'diff' of undefined\r\n    at MdRowDef.webpackJsonp.../../../cdk/@angular/cdk/table.es5.js.BaseRowDef.getColumnsDiff (table.es5.js:53)\r\n    at table.es5.js:533\r\n    at Array.forEach (<anonymous>)\r\n    at QueryList.webpackJsonp.../../../core/@angular/core.es5.js.QueryList.forEach (core.es5.js:5534)\r\n    at MdTable.webpackJsonp.../../../cdk/@angular/cdk/table.es5.js.CdkTable._renderUpdatedColumns (table.es5.js:532)\r\n    at MdTable.webpackJsonp.../../../cdk/@angular/cdk/table.es5.js.CdkTable.ngAfterContentChecked (table.es5.js:493)\r\n    at callProviderLifecycles (core.es5.js:11191)\r\n    at callElementProvidersLifecycles (core.es5.js:11169)\r\n    at callLifecycleHooksChildrenFirst (core.es5.js:11153)\r\n    at checkAndUpdateView (core.es5.js:12258)\r\n\r\n\r\n#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?\r\n\r\nI am using angular 4.3.6, cdk 2.0.0-beta.10, and angular material 2.0.0-beta.10\r\nI run it on google chrome\r\n\r\nhere is my dependencies:\r\n\r\n\"dependencies\": {\r\n    \"@angular/animations\": \"^4.3.6\",\r\n    \"@angular/cdk\": \"^2.0.0-beta.10\",\r\n    \"@angular/common\": \"^4.3.6\",\r\n    \"@angular/compiler\": \"^4.3.6\",\r\n    \"@angular/core\": \"^4.3.6\",\r\n    \"@angular/forms\": \"^4.3.6\",\r\n    \"@angular/http\": \"^4.3.6\",\r\n    \"@angular/material\": \"^2.0.0-beta.10\",\r\n    \"@angular/platform-browser\": \"^4.3.6\",\r\n    \"@angular/platform-browser-dynamic\": \"^4.3.6\",\r\n    \"@angular/router\": \"^4.3.6\",\r\n    \"@covalent/core\": \"^1.0.0-beta.6\",\r\n    \"@next-level-integration/nli-common-lib\": \"^0.1.4\",\r\n    \"@next-level-integration/nli-input-lib\": \"^0.2.7\",\r\n    \"@next-level-integration/nli-menu-lib\": \"^0.2.3\",\r\n    \"@next-level-integration/nli-search-bar-lib\": \"0.0.6\",\r\n    \"@next-level-integration/nli-timeline-lib\": \"^0.1.6\",\r\n    \"@ngui/map\": \"^0.18.4\",\r\n    \"@ngx-translate/core\": \"^7.2.0\",\r\n    \"@ngx-translate/http-loader\": \"^1.0.2\",\r\n    \"classlist.js\": \"^1.1.20150312\",\r\n    \"core-js\": \"^2.5.1\",\r\n    \"hammerjs\": \"^2.0.8\",\r\n    \"intl\": \"^1.2.5\",\r\n    \"ngx-webstorage\": \"^1.8.0\",\r\n    \"perfect-scrollbar\": \"^0.8.0\",\r\n    \"rxjs\": \"^5.4.3\",\r\n    \"start\": \"^5.1.0\",\r\n    \"web-animations-js\": \"^2.3.1\",\r\n    \"zone.js\": \"^0.8.17\"\r\n  },\r\n\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/angular/material2/issues/comments/327396781","html_url":"https://github.com/angular/material2/issues/6831#issuecomment-327396781","issue_url":"https://api.github.com/repos/angular/material2/issues/6831","id":327396781,"user":{"login":"jlangnli","id":31627605,"avatar_url":"https://avatars2.githubusercontent.com/u/31627605?v=4","gravatar_id":"","url":"https://api.github.com/users/jlangnli","html_url":"https://github.com/jlangnli","followers_url":"https://api.github.com/users/jlangnli/followers","following_url":"https://api.github.com/users/jlangnli/following{/other_user}","gists_url":"https://api.github.com/users/jlangnli/gists{/gist_id}","starred_url":"https://api.github.com/users/jlangnli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlangnli/subscriptions","organizations_url":"https://api.github.com/users/jlangnli/orgs","repos_url":"https://api.github.com/users/jlangnli/repos","events_url":"https://api.github.com/users/jlangnli/events{/privacy}","received_events_url":"https://api.github.com/users/jlangnli/received_events","type":"User","site_admin":false},"created_at":"2017-09-06T07:16:13Z","updated_at":"2017-09-06T07:16:13Z","author_association":"NONE","body":"Thanks for so many help :) but our deadline for the project is Oktober, so I already changed back to an older version which is still work. Sorry it's a bit of hurry so I don't have time to prepare any example project to show this problem. Thanks again to our lovely community."}}
{"actor":{"display_login":"jlangnli"}}