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

Auto submit should use late submit if available, otherwise due date

    XMLWordPrintable

    Details

    • 12 status:
      Resolved
    • Previous Issue Keys:
      SAM-3073
    • Test Plan:
      Hide

      Test 1

      A user creating an assessment is able to enable auto-submit and also disable the retract date ("No, not after due date" option),After the retract date is disabled then the auto submit job should submit the quiz after the due date. 

      1. Create a new quiz with a question
      2. On configuration page, set the due date in the future and retract date equal to the due date, save and publish
      3. Start the quiz as a student, save but do not submit before the due date and exit
      4. Update the quiz to set the due date to be after the retract date and disable the retract date, save
      5. Run the auto submit job in the period after the original due date and before the new one.
      6. The student's quiz should NOT be auto submitted.
      7. Run the auto submit job after the new due date.
      8. The student's quiz should be auto submitted.

       

      Test 2

      1. Create a new quiz with a question.
      2. On configuration page turn off retract date.
      3. Publish
      4. Come back into settings and turn on retract date and set to a date before the due date.

      Expected behavior: Will not allow you to save the new settings.

       

      Show
      Test 1 A user creating an assessment is able to enable auto-submit and also disable the retract date ("No, not after due date" option),After the retract date is disabled then the auto submit job should submit the quiz after the due date.  Create a new quiz with a question On configuration page, set the due date in the future and retract date equal to the due date, save and publish Start the quiz as a student, save but do not submit before the due date and exit Update the quiz to set the due date to be after the retract date and disable the retract date, save Run the auto submit job in the period after the original due date and before the new one. The student's quiz should NOT be auto submitted. Run the auto submit job after the new due date. The student's quiz should be auto submitted.   Test 2 Create a new quiz with a question. On configuration page turn off retract date. Publish Come back into settings and turn on retract date and set to a date before the due date. Expected behavior: Will not allow you to save the new settings.  

      Description

      A user creating an assessment is able to enable auto-submit and also disable the retract date ("No, not after due date" option), but the retract date is still saved in the database.
      The date then affects the auto-submit job and perhaps elsewhere also (see linked issues), and even if no date is entered one is generated.

       

      1. Create a new quiz with a question
      2. On configuration page, set the due date in the future and retract date equal to the due date, save and publish
      3. Start the quiz as a student, save but do not submit, and exit
      4. Update the quiz to set the due date to be after the retract date and disable the retract date, save
      5. Run the auto submit job in the period after the original due date and before the new one
      6. The student's attempt will be auto-submitted

      Similarly, if you disable the retract date when publishing the quiz, then change the settings it is possible to set the due date after the retract date in the database.
       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  curtisvo Curtis van Osch
                  Reporter:
                  curtisvo Curtis van Osch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code