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

Timer does not continue to count down when 5 minutes popup window appears.



    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.1, 2.5.0, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0, 2.8.x
    • Fix Version/s: 2.7.0
    • Labels:
    • Environment:
      IE7 and Safari
    • 2.9 Status:
    • Previous Issue Keys:
      SAK-18188, SAM-822


      • When the test session clock reaches 5:00minutes remaining a popup reminder window displays and the browser is brought to the foreground or similar attention/action is triggered.
      • Once this popup occurs the background timer in the browser main frame appears to stop.
      • The timer is actually still counting down, but the browser does not show this.
      • When you acknowledge the 5 minutes left popup the browser will refresh and show the correct time remaining.

      Also, waiting longer than five minutes after the five minute warning before clicking OK will leads to 'Data Discrepancy' error, even though the assessment has been saved. Here quoting Karen's explaination from SAK-13125:
      This is actually the desired flow that designed by our user experience designer. Let me explain what happens.

      There are actually two possible ways to submit an assessment systematically when the time is up. The first one is by UI JavaScript and the second one is by a back-end thread. If the UI doesn't submit the assessment for some reason, for example, the students have navigated to other tools, close the browser, or the scenario you have (not clicking the OK button until time is up), the back-end thread will submit the assessment.

      Now in your scenario, the assessment has already submitted by the back-end thread and then the student click the OK button. The UI won't know this assessment has been submitted and will still start a submission process. During this process, we check if this assessment has already been submitted. Because it has already been submitted in this case, an error page will be displayed to the student. What we want to inform students in this error page is there might be "data discrepancy", that is, whatever they have done after their last Save action will not be saved. (this is due to our current tech implementation).

      Our designers have taken time to rewrite the contexts in this error page. If you have any question or suggestion, I am willing to pass them on to our designers.

      Also, I am not sure if you notice that we have also add a line in the 5 minutes popup:

      The timer will continue to count down even if you do not click "OK".

      We want to tell students that they won't get more time by not clicking "OK. We think for timed assessment, student should not leave the time running and go do other things. We suspect these students don't click "OK" intentionally - they think they can gain more time by doing this. We think by adding this line should decrease the occurrences of this type of issue.

        Gliffy Diagrams



            1. jquery.zip
              65 kB
            2. no-ok-to-click.png
              20 kB
            3. SAM-822-codeonly.patch
              4 kB
            4. Screen shot 2010-03-16 at 12.54.10 PM.png
              Screen shot 2010-03-16 at 12.54.10 PM.png
              63 kB
            5. ui-lightness.zip
              41 kB

              Issue Links



                  samigoteam SAMIGO TEAM (Inactive)
                  lydial@stanford.edu Lydia Li
                  0 Vote for this issue
                  4 Start watching this issue



                      Git Integration