Sakaihttps://jira.sakaiproject.org
This file is an XML representation of an issueen-us8.0.380001103-07-2019[SAK-37031] Students can take test even after the instructor has clicked "stop accepting now" https://jira.sakaiproject.org/browse/SAK-37031
Sakai<p><b>Stop Accepting Now</b> button does not work correctly to set the Retract (aka <b>latest submission</b>) date and trigger Autosubmit (if Autosubmit enabled).</p>
<p><b>Note:</b> For one of the testing steps in test plan, Autosubmit needs to be enabled on server.</p>Tested in Sakai 11.2 on MySql, trunk (master) on MySql, windows 10, chrome.
<br/>
SAK-37031Students can take test even after the instructor has clicked "stop accepting now" BugBlockerVerifiedFixedSam OttenhoffSristi ShresthaAutosubmitneedstestingtimersMon, 16 Jan 2017 09:58:16 -0600Tue, 17 Apr 2018 08:39:49 -0500Fri, 15 Dec 2017 09:38:39 -060011.212.019.011.5 [Tentative]12.019.0Tests &amp; Quizzes (Samigo)09<p>How long after the instructor clicks "Stop accepting now" does Samigo continue accepting assessments? Is it one minute, 10 minutes, indefinite?</p><p>Do you also confirm that you want to stop accepting (Step after 3)? Does anything happen to the settings after stopping?</p><p>I can reproduce the problem on mysql master qa server on nightly. Build - Sakai - fe48a19d - Sakai 13-SNAPSHOT - Server ip-172-31-6-159</p>
<p>It does not seem to save the "Stop Accepting Now" parameter, because if you go back into Settings, you can choose that option again. Nothing is changed about the Due date (I assume it would be the way this works?).</p><p>I'll see if this is fixed (incorporated) since we know other Samigo fixes have happened recently.</p>
<p> </p><p>The issue here is that the <b>Stop Accepting Now</b> button needs to trigger a fill of the retract date to <b>Now</b> (it also displays this date in the <b>late submission date</b> field). This forces retract, both stopping students from taking the test and autosubmitting any saved in progress tests if autosubmit is enabled.</p>
<p>If <b>Stop Accepting Now</b> does not trigger a retract date change to the moment it was clicked, the button has no effect.</p>
<p>Another question: What should be the behavior for students with <b>date/time exceptions</b>? Is it expected that <b>Stop Accepting Now</b> will similarly truncate their due date if late submissions are NOT accepted AND <b>due date field in exceptions</b> is left blank?! Additional testing steps will need to be added once the intended behavior for the date/time exceptions is indicated.</p><p>The second student does not see the quiz after the instructor clicks to stop accepting now.</p>
<p>The first student was able to continue clicking in the test after the instructor clicked stop accepting now and the auto-submit job ran.</p>
<p>Site: ENIF_540K_0613, Sakai - ab7fbaf8 - Sakai 13-SNAPSHOT - Server ip-172-31-6-159</p>
<p>Quiz: 3120-B, Student1: ndrew</p>
<p>Initial due/late accept date: 12/21/2017 12:00 am</p>
<p>Instructor clicked stop accepting now: 12/14/2017 8:25 PM - both the due and late fields updated to "now"</p>
<p><span class="image-wrap" style=""><img src="https://jira.sakaiproject.org/secure/attachment/49023/49023_image-2017-12-14-20-45-35-548.png" height="176" width="285" style="border: 0px solid black" /></span></p>
<p>Ran auto-submit:</p>
<p><span class="image-wrap" style=""><img src="https://jira.sakaiproject.org/secure/attachment/49021/49021_image-2017-12-14-20-44-29-602.png" height="118" width="681" style="border: 0px solid black" /></span></p>
<p>Instructor view of assessments:</p>
<p><span class="image-wrap" style=""><img src="https://jira.sakaiproject.org/secure/attachment/49025/49025_image-2017-12-14-20-47-03-554.png" height="156" width="626" style="border: 0px solid black" /></span></p>
<p>While writing up this up, I left the test open with student1 and just now clicked next again. Student is still able to continue in test:</p>
<p><span class="image-wrap" style=""><img src="https://jira.sakaiproject.org/secure/attachment/49026/49026_image-2017-12-14-20-50-14-661.png" height="354" width="372" style="border: 0px solid black" /></span></p>
<p>From logs:<br/>
14-Dec-2017 20:26:40.906 WARN <span class="error">&#91;QuartzScheduler_Worker-2&#93;</span> org.sakaiproject.component.app.scheduler.jobs.SpringJobBeanWrapper.execute Non-stateful wrapper used with stateful job: AutoSubmitAssessments You probably wanted to use SpringStatefulJobBeanWrapper for this job.<br/>
14-Dec-2017 20:26:41.044 INFO <span class="error">&#91;QuartzScheduler_Worker-2&#93;</span> org.sakaiproject.tool.assessment.services.AutoSubmitAssessmentsJob.execute Start Job: AutoSubmitAssessmentsJob $ Job: Auto Submit Assessments Job Trigger: MT_8g6gbcg9l9lb6 Fire scheduled: Thu Dec 14 20:26:40 EST 2017 Fire actual: Thu Dec 14 20:26:40 EST 2017<br/>
14-Dec-2017 20:26:41.080 INFO <span class="error">&#91;QuartzScheduler_Worker-2&#93;</span> org.sakaiproject.tool.assessment.services.AutoSubmitAssessmentsJob.execute End Job: AutoSubmitAssessmentsJob $ Job: Auto Submit Assessments Job Trigger: MT_8g6gbcg9l9lb6 Fire scheduled: Thu Dec 14 20:26:40 EST 2017 Fire actual: Thu Dec 14 20:26:40 EST 2017 (0 failures)</p>
<p> </p><p>"The first student was able to continue clicking in the test after the instructor clicked stop accepting now and the auto-submit job ran." =&gt; This should be a new issue</p><p><a href="https://jira.sakaiproject.org/secure/ViewProfile.jspa?name=ottenhoff" class="user-hover" rel="ottenhoff">Sam Ottenhoff</a> That issues sounds a lot like <a href="https://jira.sakaiproject.org/browse/SAK-34725" title="Submit the answers when the time is over for non-timed assessments." class="issue-link" data-issue-key="SAK-34725">SAM-3134</a>. I feel like to fix we'd need a samigo communicating more with the server and something that could be implemented if/when the UVA timer improvements got in</p><p>The most recent issue identified here (in progress test not submitted by <b>Autosubmit</b> and student still able to navigate through multiple pages of test after <b>Stop Accepting</b> is clicked) sounds like a new bug.</p>
<p>Expected behavior is that following the <b>Stop Accepting</b> (<b>Autosubmit</b> trigger), as soon as the student attempts to click a navigation button or <b>Save</b>, they should see a message indicating that their test has already been submitted and they can't continue taking it (this behavior/message exists in Sakai 11 and earlier). Any data saved prior to the instructor's <b>Stop Accepting</b> click should be autosubmitted. Anything the student tried to enter/save after the Autosubmit should NOT be saved/submitted.</p><p>I retested this evening, 2 separate tests:</p>
<p>1) only 1 submission allowed</p>
<p>2) unlimited submissions allowed</p>
<p>Student was in the quiz when the instructor clicked to stop accepting</p>
<p>Ran the auto-submit job</p>
<p>When the student clicked save, "Assessment has been submitted" appeared</p>
<p>The problem I saw yesterday is not present today, so no new Jira</p>DependSAK-3716611 status12 statusDevelopmentGlobal Rank9223372036854775807Previous Issue KeysRank0|109cgw:Rank (Obsolete)9223372036854775807Test Plan<ol>
<li>In a site with at least two students, publish an assessment with Due Date in a week or so, other settings default.</li>
<li>Start the test as Student 1, enter at least one answer, <b>Save</b> but DON'T submit.</li>
<li>As instructor, go to <b>Published Copies</b>, ensure that the student's test is in progress.</li>
<li>Edit <b>Settings</b> on the published assessment.</li>
<li>Select the <b>Autosubmit</b> checkbox.</li>
<li>Click <b>Stop accepting now</b>.</li>
<li>Login as Student 2 to see if they can take assessment or not.</li>
<li>Expected behavior is student should NOT be allowed to take assessment after instructor has clicked <b>Stop accepting now</b>.
<ul>
<li><b>If Issue present:</b> Students can still take assessment.</li>
<li><b>If issue fixed:</b> Student does not see assessment listed in <em>Tests &amp; Quizzes</em></li>
</ul>
</li>
<li>Log in as admin and trigger the Autosubmit job.</li>
<li>Log in as instructor and go to <b>Published Copies</b> &gt; <b>Scores</b> confirm Student 1's submission is submitted.</li>
<li>Log in as Student 1 and confirm submission displays in submitted list.</li>
</ol>
Testing StatusjqltField