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

Instructor receives bad time warning when imported assessment has an old retract date

    XMLWordPrintable

    Details

    • 21 Status:
      Please Merge
    • 20 status:
      Resolved
    • Test Plan:
      Hide

      1. Create assessment with one question
      2. Publish it and set all three dates (open/due/retract) to dates in the past
      3. Edit the published assessment and now set open date to now, due date in the future, set a timer of 20 minutes, and disable the retracted date option ("no, not after due date")
      4. Expected result: no warning

      Show
      1. Create assessment with one question 2. Publish it and set all three dates (open/due/retract) to dates in the past 3. Edit the published assessment and now set open date to now, due date in the future, set a timer of 20 minutes, and disable the retracted date option ("no, not after due date") 4. Expected result: no warning

      Description

      This line is problematic when the retract date is old and no longer being used:

      Date due = assessmentSettings.getRetractDate() != null ? assessmentSettings.getRetractDate() : assessmentSettings.getDueDate()

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  agschmidt Andrea Schmidt
                  Reporter:
                  ottenhoff Sam Ottenhoff
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration