{"action":"opened","issue":{"url":"https://api.github.com/repos/openshiftio/openshift.io/issues/3544","repository_url":"https://api.github.com/repos/openshiftio/openshift.io","labels_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/3544/labels{/name}","comments_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/3544/comments","events_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/3544/events","html_url":"https://github.com/openshiftio/openshift.io/issues/3544","id":322385395,"number":3544,"title":"TypeError when viewing work items in a foreign user's profile","user":{"login":"aptmac","id":10425301,"avatar_url":"https://avatars2.githubusercontent.com/u/10425301?v=4","gravatar_id":"","url":"https://api.github.com/users/aptmac","html_url":"https://github.com/aptmac","followers_url":"https://api.github.com/users/aptmac/followers","following_url":"https://api.github.com/users/aptmac/following{/other_user}","gists_url":"https://api.github.com/users/aptmac/gists{/gist_id}","starred_url":"https://api.github.com/users/aptmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aptmac/subscriptions","organizations_url":"https://api.github.com/users/aptmac/orgs","repos_url":"https://api.github.com/users/aptmac/repos","events_url":"https://api.github.com/users/aptmac/events{/privacy}","received_events_url":"https://api.github.com/users/aptmac/received_events","type":"User","site_admin":false},"labels":[{"id":632272274,"url":"https://api.github.com/repos/openshiftio/openshift.io/labels/area/user/profile","name":"area/user/profile","color":"fef2c0","default":false},{"id":637470538,"url":"https://api.github.com/repos/openshiftio/openshift.io/labels/team/platform","name":"team/platform","color":"d4c5f9","default":false},{"id":627758095,"url":"https://api.github.com/repos/openshiftio/openshift.io/labels/type/bug","name":"type/bug","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-11T18:05:56Z","updated_at":"2018-05-11T18:05:56Z","closed_at":null,"author_association":"COLLABORATOR","body":"In a similar vein to issues regarding UI when viewing other user's pages [0]: \r\n\r\nWhen viewing another user's profile the \"My Work Items\" widget dropdown shows the currently logged in user's spaces, and encounters an error if a space is selected that has active work items:\r\n`ERROR TypeError: Cannot read property 'id' of undefined`\r\n\r\nexample: If I'm viewing @chrislessard's profile, I see my own spaces and their associated work items, and get an error in the console.\r\n![work-items-other-user-space](https://user-images.githubusercontent.com/10425301/39939155-5516c49a-5523-11e8-861f-f404736c1405.png)\r\n\r\n[0] https://github.com/openshiftio/openshift.io/issues/3386\r\n[1] https://github.com/fabric8-ui/fabric8-ui/blob/8e99c233e8b03c440c74229d719f5197471ea6d6/src/app/profile/overview/work-items/work-items.component.ts#L169"}}
{"actor":{"display_login":"aptmac"}}