Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43222

New attempt not possible if SCORM attempt exited before finishing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.7, 2.5.3, 2.6, 2.7
    • Fix Version/s: 2.5.5, 2.6.2
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      Using the Fruit Quiz SCORM package (copy on MDL-37524 if you need it)

      Create SCORM activity with grading option "highest grade" and "unlimited attempts", make sure "force new attempt" setting is set to "No"
      As a student:
      1st attempt: Click "Enter" (Mode: normal), answer all questions correctly and, hit "finish" button on last page (won't do anything visible) - then hit "exit activity" in top right.

      Return to the SCORM activity
      2nd attempt: Click "Enter" (Mode: normal, "Start a new attempt"=yes), answer first question, then use navigation breadcrumbs to return to scorm/view.php page. (don't answer 2nd question)
      3rd attempt - "start new attempt" checkbox shouldn't be available - click "Enter" (Mode: normal, answer all questions correctly, hit "finish" button on last page (won't do anything visible) - then hit "exit activity" in top right.
      Return to the SCORM activity
      4th attempt: Make sure the "start new activity" option is available.

      NOTE: each time you enter the SCORM package you will start at the beginning/first question even if you are entering a previous attempt.

      Show
      Using the Fruit Quiz SCORM package (copy on MDL-37524 if you need it) Create SCORM activity with grading option "highest grade" and "unlimited attempts", make sure "force new attempt" setting is set to "No" As a student: 1st attempt: Click "Enter" (Mode: normal), answer all questions correctly and, hit "finish" button on last page (won't do anything visible) - then hit "exit activity" in top right. Return to the SCORM activity 2nd attempt: Click "Enter" (Mode: normal, "Start a new attempt"=yes), answer first question, then use navigation breadcrumbs to return to scorm/view.php page. (don't answer 2nd question) 3rd attempt - "start new attempt" checkbox shouldn't be available - click "Enter" (Mode: normal, answer all questions correctly, hit "finish" button on last page (won't do anything visible) - then hit "exit activity" in top right. Return to the SCORM activity 4th attempt: Make sure the "start new activity" option is available. NOTE: each time you enter the SCORM package you will start at the beginning/first question even if you are entering a previous attempt.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      master_MDL-43222

      Description

      Exiting a SCORM activity without finishing will cause successive attempts to be in review mode only regardless of the "Number of attempts" setting.

      The issue seems to affect all browsers and platforms. We did our tests with Firefox 25 on Linux.

      As a workaround for our teachers, we found out that after deleting the incomplete attempt and all attempts after that, it is possible to start new attempts again.

      Steps to reproduce (SCORM logs attached):
      Create SCORM activity with default settings (unlimited number of attempts). We made our tests with the SCORM package in MDL-37524.
      As a student:

      • 1st attempt: Click "Enter" (Mode: normal, "Start a new attempt"=yes), answer questions, finish attempt
      • Return to the SCORM activity
      • 2nd attempt: Click "Enter" (Mode: normal, "Start a new attempt"=yes), answer questions, only this time don't finish attempt (just click any link).
      • Return to the SCORM activity
      • 3rd attempt: Click "Enter" (Mode: normal, "Start a new attempt"=yes), answer questions, finish attempt
      • Return to the SCORM activity
      • 4th attempt: Notice the "Start a new attempt" option is missing. Clicking "Enter" starts the SCORM activity in review mode.

      Exiting a SCORM activity before completion creates an attempt with cmi.core.score.raw = 'empty' and cmi.core.lesson_status = 'incomplete'.
      All successive attempts will behave like the same next attempt with "Start a new attempt" not possible anymore. Attempts are stuck in review mode.

      Looking at the SCORM logs we noticed that when exiting an unfinished attempt, cmi.core.score.min, cmi.core.score.max and cmi.core.score.raw are not passed.
      Looks like the missing cmi.core.score.raw is what is causing trouble. In our tests, adding cmi.core.score.raw manually to the unfinished attempt via SCORM Debugging interface made successive attempts behave normally.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  3 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Mar/14