{"action":"closed","issue":{"url":"https://api.github.com/repos/reigndesign/mymandarinhouse/issues/137","labels_url":"https://api.github.com/repos/reigndesign/mymandarinhouse/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/reigndesign/mymandarinhouse/issues/137/comments","events_url":"https://api.github.com/repos/reigndesign/mymandarinhouse/issues/137/events","html_url":"https://github.com/reigndesign/mymandarinhouse/issues/137","id":112493954,"number":137,"title":"Specific user - Error accessing resource material","user":{"login":"rafaelcs","id":8113555,"avatar_url":"https://avatars.githubusercontent.com/u/8113555?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelcs","html_url":"https://github.com/rafaelcs","followers_url":"https://api.github.com/users/rafaelcs/followers","following_url":"https://api.github.com/users/rafaelcs/following{/other_user}","gists_url":"https://api.github.com/users/rafaelcs/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelcs/subscriptions","organizations_url":"https://api.github.com/users/rafaelcs/orgs","repos_url":"https://api.github.com/users/rafaelcs/repos","events_url":"https://api.github.com/users/rafaelcs/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelcs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/reigndesign/mymandarinhouse/labels/5%20-%20Finished","name":"5 - Finished","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"rafaelcs","id":8113555,"avatar_url":"https://avatars.githubusercontent.com/u/8113555?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelcs","html_url":"https://github.com/rafaelcs","followers_url":"https://api.github.com/users/rafaelcs/followers","following_url":"https://api.github.com/users/rafaelcs/following{/other_user}","gists_url":"https://api.github.com/users/rafaelcs/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelcs/subscriptions","organizations_url":"https://api.github.com/users/rafaelcs/orgs","repos_url":"https://api.github.com/users/rafaelcs/repos","events_url":"https://api.github.com/users/rafaelcs/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelcs/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-21T01:35:45Z","updated_at":"2015-10-21T05:25:40Z","closed_at":"2015-10-21T05:25:40Z","body":"**Browser:** Any\r\n**OS:** Any\r\n**Severity:​** High\r\n​**Steps to reproduce:​** \r\n1. Access as student: curtis@reigndesign.com / pass: learnM0reChinese\r\n2. Go to session \"resource material\"\r\n**Expected behavior:**​ view page\r\n**Actual behavior:** page with error\r\n\r\n![image](https://cloud.githubusercontent.com/assets/8113555/10625569/3d744e82-7783-11e5-9dae-2116e1d85215.png)\r\n\r\n\r\n```\r\n500\r\nTypeError: /app/app/views/student/dashboard/resources.jade:56 54| | #{booking.session.course.path.title}/#{booking.session.course.title}/#{booking.session.title} 55| td > 56| a.filter(data-filter-key=\"teacher\" data-filter-value=\"#{booking.teachers[0]._id}\") 57| img(src=booking.teachers[0].avatar50).avatar 58| | #{booking.teachers[0].name} 59| td.noprint Cannot read property '_id' of undefined\r\n```"}}