Data Discrepancy Error on Second Click of Submit Button
GENERAL
TESTING
GENERAL
TESTING
Description
Attachments
1
Activity
Show:

Gregory Thomas December 7, 2011 at 1:14 PM
It looks like that could potentially work. Similarly, early on in SAM-1244, a pure disabling of the submit button didn't work, since it wouldn't actually submit the page. I'm all for a unified solution, so that looks like it would work for the Submit button, as well.
Thanks,
Greg

Hui Tsao December 7, 2011 at 11:31 AM
As this is an issue has to be fixed, I am willing to merge your patch. However, have you seen https://jira.sakaiproject.org/browse/SAM-1244? Do you think the solution in might be able to apply to this Submit page as well? If yes, I think it'll be more consistent if we use the same fix across Samigo deliver. Please let me know what you think.
Thanks,
Karen
Details
Details
Priority
Components
Assignee

Reporter

Labels
Created December 7, 2011 at 9:06 AM
Updated April 17, 2018 at 8:08 AM
This was recently addressed at IU, although I haven't been able to get a replication on generic. From an IU jira:
------------------------------ On the submit confirmation screen, if the student taking the test clicks the button a second time, you see the data discrepancy error.
See the video here: http://screencast.com/t/0qJ8FdpMQ
To reproduce:
Enter a test as a student.
Take the test and go all the way to the last question.
On the last question page, click the Submit button. You see the submit confirmation screen, with another submit button.
When you click the button on this page, the screen seems to lag for several seconds. If you wait, it will eventually refresh. BUT many students will not wait; they will assume that something is wrong and click the button again. At that point (on the second click) the data discrepancy error appears.
------------------------------
The patch modifies the javascript to create a new, disabled button on the screen to give the illusion the button is disabled, when really it just disappears. This also ensures that the button is only ever clicked once and the important issue to address.