Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41048

Auto-submit not submitting quiz if student is still in the quiz when the job runs

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. Create a quiz
      2. Set availability section for entire class with due date 5 minutes from now and Late Submissions Allowed = NO, Auto-submit = checked
      3. Setup an excepted student with due date 10 minutes from now and No Late Submissions
      4. Have both the non-excepted and the excepted student start the quiz and leave it open
      5. When the availability due time passes, run the auto-submit job (admin)
      6. Non-excepted student try to submit. Expected Message: Assessment has been submitted
      7. When the excepted due time passes, run the auto-submit job again (admin)
      8. Excepted student try to submit. Expected Message: Assessment has been submitted.
      9. As the instructor, click on the submissions to access the Total Scores page. Verify the submissions are marked as 'Auto-Submit' with the correct submission time (due dates/times)

      Currently, the incorrect message displays when students click to submit after the auto-submit job runs and the quizzes are never submitted.

      Show
      Create a quiz Set availability section for entire class with due date 5 minutes from now and Late Submissions Allowed = NO, Auto-submit = checked Setup an excepted student with due date 10 minutes from now and No Late Submissions Have both the non-excepted and the excepted student start the quiz and leave it open When the availability due time passes, run the auto-submit job (admin) Non-excepted student try to submit. Expected Message: Assessment has been submitted When the excepted due time passes, run the auto-submit job again (admin) Excepted student try to submit. Expected Message: Assessment has been submitted. As the instructor, click on the submissions to access the Total Scores page. Verify the submissions are marked as 'Auto-Submit' with the correct submission time (due dates/times) Currently, the incorrect message displays when students click to submit after the auto-submit job runs and the quizzes are never submitted.

      Description

      I don't see a ticket where this has been fixed in trunk (20), but it is definitely working correctly on trunk.

      On QA19 auto-submit is failing if the student is still in the quiz when the job runs. If the student tries to submit after the due date and the auto-submit job ran, the "Late Submissions not allowed" message displays. The quiz never actually submits and the instructor cannot access the scores.

      I had one student with a due date/time for the site and one student that had an exception.

      student1 due 8:55, student2 (exc): 9:00
      Auto-submit ran while students still in the quiz
      After auto-submit job1 completed, had student1 click save
      After auto-submit job2 completed, had student2 click save
      06-Dec-2018 20:57:14.919 INFO [QuartzScheduler_Worker-1] org.sakaiproject.tool.assessment.services.AutoSubmitAssessmentsJob.execute Start Job: AutoSubmitAssessmentsJob $ Job: Auto Submit Assessments Job Trigger: MT_1n6b7i927bnc5 Fire scheduled: Thu Dec 06 20:57:14 EST 2018 Fire actual: Thu Dec 06 20:57:14 EST 2018
      06-Dec-2018 21:01:40.319 INFO [QuartzScheduler_Worker-5] org.sakaiproject.tool.assessment.services.AutoSubmitAssessmentsJob.execute End Job: AutoSubmitAssessmentsJob $ Job: Auto Submit Assessments Job Trigger: MT_2kw0lw190lhc6 Fire scheduled: Thu Dec 06 21:01:40 EST 2018 Fire actual: Thu Dec 06 21:01:40 EST 2018 (0 failures)

      Both students received "Late submissions not allowed" message. This should have been "Assessment has been submitted"

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  agschmidt Andrea Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code