{"action":"created","issue":{"url":"https://api.github.com/repos/MyCaert/Issues-Enhancements/issues/184","labels_url":"https://api.github.com/repos/MyCaert/Issues-Enhancements/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/MyCaert/Issues-Enhancements/issues/184/comments","events_url":"https://api.github.com/repos/MyCaert/Issues-Enhancements/issues/184/events","html_url":"https://github.com/MyCaert/Issues-Enhancements/issues/184","id":122373980,"number":184,"title":"URGENT - Changing # of Submission Creates New Instance of Test","user":{"login":"dpentony","id":5790325,"avatar_url":"https://avatars.githubusercontent.com/u/5790325?v=3","gravatar_id":"","url":"https://api.github.com/users/dpentony","html_url":"https://github.com/dpentony","followers_url":"https://api.github.com/users/dpentony/followers","following_url":"https://api.github.com/users/dpentony/following{/other_user}","gists_url":"https://api.github.com/users/dpentony/gists{/gist_id}","starred_url":"https://api.github.com/users/dpentony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpentony/subscriptions","organizations_url":"https://api.github.com/users/dpentony/orgs","repos_url":"https://api.github.com/users/dpentony/repos","events_url":"https://api.github.com/users/dpentony/events{/privacy}","received_events_url":"https://api.github.com/users/dpentony/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-15T21:45:19Z","updated_at":"2015-12-15T22:05:55Z","closed_at":null,"body":"Eddie Hendrix teaches in Arkansas. He determined that when he changes the number of submissions on the quiz parameters page, it is creating a whole new instance of the test. This should not be the case. A new instance of the quiz should only be created when you assign the quiz to an additional course. When the # of submissions is changed, it is treating the test like it was assigned to an additional course.\r\n\r\nI recreated the issue under his account by creating a test called CAERT Test 12.15.15. I created the original version at set the Submission parameter to 1. I then edited the quiz and changed the parameter to 5. Once I did that, it created a second instance of the test. See below. A second instance should not have been created since the course the test was assigned to did not change.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5790325/11824873/b567fe4a-a341-11e5-80d1-a3a4abbab7ef.png)\r\n\r\nWhen you change the submissions and go to save it, you get the pop-up that the course has been changed when it has not. You also end up with a second instance of the quiz.\r\n\r\nThe teacher ended up with multiple instances of a quiz. When he deleted an instance, he deleted the wrong one and lost his test results.\r\n\r\nNote: This is something specific to Arkansas. I could not replicate it under my IL account, but I could when I logged in as him and created the dummy test called CAERT Test 12.15.15. Please edit the submissions on this test under his account to replicate issue."},"comment":{"url":"https://api.github.com/repos/MyCaert/Issues-Enhancements/issues/comments/164912552","html_url":"https://github.com/MyCaert/Issues-Enhancements/issues/184#issuecomment-164912552","issue_url":"https://api.github.com/repos/MyCaert/Issues-Enhancements/issues/184","id":164912552,"user":{"login":"dpentony","id":5790325,"avatar_url":"https://avatars.githubusercontent.com/u/5790325?v=3","gravatar_id":"","url":"https://api.github.com/users/dpentony","html_url":"https://github.com/dpentony","followers_url":"https://api.github.com/users/dpentony/followers","following_url":"https://api.github.com/users/dpentony/following{/other_user}","gists_url":"https://api.github.com/users/dpentony/gists{/gist_id}","starred_url":"https://api.github.com/users/dpentony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpentony/subscriptions","organizations_url":"https://api.github.com/users/dpentony/orgs","repos_url":"https://api.github.com/users/dpentony/repos","events_url":"https://api.github.com/users/dpentony/events{/privacy}","received_events_url":"https://api.github.com/users/dpentony/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T22:05:54Z","updated_at":"2015-12-15T22:05:54Z","body":"Also, can you restore the exam he inadvertently deleted? It is called PS unit 3 exam."}}