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

Samigo > retract date check can be bypassed

    Details

    • 19 status:
      Resolved
    • Test Plan:
      Hide
      1. Create a quiz with at least one question.
      2. Go to Settings.
      3. At the bottom of the page, click Save Settings and Publish (doesn't matter what the settings are at this point since you'll be changing them anyway.)
      4. On the Publish Assessment screen, click Edit Settings.
      5. In the Due Date field, enter a date, e.g. 04/18/2018 01:58 pm
      6. In the Late submissions accepted? section, select Yes, until (if not already selected) and enter a date EARLIER than the Due date, e.g. 04/17/2018 01:58 pm.
      7. At the bottom of the page, click Save.
      8. If issue present: You'll be returned to the Publish Assessment screen with no date check to stop you and warn that you can't set a late submission date earlier than the due date. Click Publish.
        If issue fixed: The save will be blocked and you'll get a warning: The Late Submission Date cannot be earlier than the Available Date or the Due Date.
      9. If issue present: Visit Published Copies and edit Settings on the newly published quiz. Inspect the dates and you'll see the late submission date is earlier than the due date.
      10. If issue fixed: Modify the date so the late submission date is later than the due date and Save, then Publish the quiz.
      11. Go back to Working Copies and select Settings to the left of the quiz.
      12. In the Late submissions accepted? Yes, until date box, enter a date EARLIER than the Due date, e.g. 04/17/2018 01:58 pm.
      13. Click Save.
      14. Confirm the save is blocked and you get the warning: The Late Submission Date cannot be earlier than the Available Date or the Due Date.
      15. In Late submissions accepted?, change the setting to No, not after due date.
      16. Click Save.
      17. Confirm that it saves correctly (i.e. the previously entered, incorrect Yes, until date is no longer acting on this quiz and blocking the save.)
      18. Select Settings again.
      19. For Late submissions accepted? select Yes, until and confirm there's no date there.
      Show
      Create a quiz with at least one question. Go to Settings . At the bottom of the page, click Save Settings and Publish (doesn't matter what the settings are at this point since you'll be changing them anyway.) On the Publish Assessment screen, click Edit Settings . In the Due Date field, enter a date, e.g. 04/18/2018 01:58 pm In the Late submissions accepted? section, select Yes, until (if not already selected) and enter a date EARLIER than the Due date , e.g. 04/17/2018 01:58 pm. At the bottom of the page, click Save . If issue present: You'll be returned to the Publish Assessment screen with no date check to stop you and warn that you can't set a late submission date earlier than the due date. Click Publish . If issue fixed: The save will be blocked and you'll get a warning: The Late Submission Date cannot be earlier than the Available Date or the Due Date. If issue present: Visit Published Copies and edit Settings on the newly published quiz. Inspect the dates and you'll see the late submission date is earlier than the due date. If issue fixed: Modify the date so the late submission date is later than the due date and Save , then Publish the quiz. Go back to Working Copies and select Settings to the left of the quiz. In the Late submissions accepted? Yes, until date box, enter a date EARLIER than the Due date , e.g. 04/17/2018 01:58 pm. Click Save . Confirm the save is blocked and you get the warning: The Late Submission Date cannot be earlier than the Available Date or the Due Date. In Late submissions accepted? , change the setting to No, not after due date . Click Save . Confirm that it saves correctly (i.e. the previously entered, incorrect Yes, until date is no longer acting on this quiz and blocking the save.) Select Settings again. For Late submissions accepted? select Yes, until and confirm there's no date there.

      Description

      The retract date check can be bypassed by editing from the Republish UI, resulting in retract earlier than due date.

      If you attempt to edit an assessment's settings after clicking Save Settings and Publish in Working Copies, then you click Save, you can bypass the date check where Samigo confirms that the Late Submission (aka Retract) date is set after the Due Date for an assessment. Because autosubmit triggers off the late submission date, this can result in unexpected behavior in the case of an autosubmit test.

      This issue was found because an instructor managed to set the Late Submission date before the due date; this resulted in an exam being autosubmitted out from under a number of students who were in the process of taking it.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bjones86 Brian Jones
                Reporter:
                bjones86 Brian Jones
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code