{"action":"closed","issue":{"url":"https://api.github.com/repos/nusedutech/coursemology.org/issues/21","labels_url":"https://api.github.com/repos/nusedutech/coursemology.org/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/nusedutech/coursemology.org/issues/21/comments","events_url":"https://api.github.com/repos/nusedutech/coursemology.org/issues/21/events","html_url":"https://github.com/nusedutech/coursemology.org/issues/21","id":54691510,"number":21,"title":"\"Type Error\" in Quiz","user":{"login":"hiepluonghlv","id":7822509,"avatar_url":"https://avatars.githubusercontent.com/u/7822509?v=3","gravatar_id":"","url":"https://api.github.com/users/hiepluonghlv","html_url":"https://github.com/hiepluonghlv","followers_url":"https://api.github.com/users/hiepluonghlv/followers","following_url":"https://api.github.com/users/hiepluonghlv/following{/other_user}","gists_url":"https://api.github.com/users/hiepluonghlv/gists{/gist_id}","starred_url":"https://api.github.com/users/hiepluonghlv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiepluonghlv/subscriptions","organizations_url":"https://api.github.com/users/hiepluonghlv/orgs","repos_url":"https://api.github.com/users/hiepluonghlv/repos","events_url":"https://api.github.com/users/hiepluonghlv/events{/privacy}","received_events_url":"https://api.github.com/users/hiepluonghlv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-18T09:40:11Z","updated_at":"2015-01-27T05:34:48Z","closed_at":"2015-01-27T05:34:48Z","body":" in CS2100: Quiz 1\r\n\r\n---------------------------\r\nShowing /home/eadm/public_html/coursemology.org/app/views/assessment/training_submissions/_edit_form.html.erb where line #70 raised:\r\n\r\ncan't convert nil into String\r\n\r\n--------------------------\r\n\r\nI believe this error only come up when we enable \"Allow Discussion\" in the setup.\r\n\r\n\r\nAnother bug occurs when you edit the training setup _after_ the questions have been added.\r\n\r\nSteps to reproduce the bug:\r\n\r\n1. Create a quiz, add some questions\r\n\r\n2. Edit the quiz property, then \"update training\"\r\n\r\n3. The quiz now contains 0 questions (i.e. all questions have been dropped)!"}}