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

SCORM "Force new attempt" setting not always taken into account

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.5, 2.3.2
    • Fix Version/s: 2.5.6, 2.6.3
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      Create a SCORM package in your course and test with the following settings
      (use a scorm that provides a complete status - Fruit quiz is a good one)

      Test 1
      Use the following settings:
      Number of attempts: Unlimited
      Force new attempt: Yes
      Student skip content structure: Always
      Display package: New Window

      Enter the SCORM as a student (not admin/teacher)
      Complete the SCORM - make sure lesson_status is complete or passed.
      Enter the SCORM again and make sure it generates a new attempt.

      Test 2
      Use the following settings:
      Number of attempts: Unlimited
      Force new attempt: Yes
      Student skip content structure: First Access
      Display package: New Window

      Enter the SCORM as a student (not admin/teacher)
      On first entry it should open popup immediately - complete this attempt by answering all questions correctly and make sure it provides a lesson_status of complete or passed.
      Enter the SCORM again (If first entry was completed) it should display scorm/view.php to student with form to allow entry but no "checkbox" to "start new attempt", Enter SCORM and make sure it generates a new attempt.

      Test 3
      Use the following settings:
      Number of attempts: Unlimited
      Force new attempt: Yes
      Student skip content structure: Always
      Display package: current Window

      Enter the SCORM as a student (not admin/teacher)
      Complete the SCORM - make sure lesson_status is complete or passed.
      Enter the SCORM again and make sure it generates a new attempt.

      Test 4
      Use the following settings:
      Number of attempts: Unlimited
      Force new attempt: No
      Student skip content structure: Never
      Display package: current Window

      Enter the SCORM
      Complete the SCORM - make sure lesson_status is complete or passed.
      Enter the SCORM again, make sure the checkbox "start new attempt" is ticked and make sure it generates a new attempt.

      Test 5
      Use the following settings:
      Number of attempts: Unlimited
      Force new attempt: No
      Student skip content structure: Never
      Display package: current Window

      Enter the SCORM
      Complete the SCORM - make sure lesson_status is complete or passed.
      Enter the SCORM again, make sure the checkbox "start new attempt" is NOT ticked and make sure "review mode" is shown at the top of the TOC

      Test 6
      Use the Single Activity Course format and the following settings in your SCORM:
      Number of attempts: Unlimited
      Force new attempt: Yes
      Student skip content structure: First Access
      Display package: New Window

      Enter the SCORM as a student (not admin/teacher)
      On first entry it should open popup immediately - complete this attempt by answering all questions correctly and make sure it provides a lesson_status of complete or passed.
      Enter the SCORM again (If first entry was completed) it should display scorm/view.php to student with form to allow entry but no "checkbox" to "start new attempt", Enter SCORM and make sure it generates a new attempt.

      NOTE: The skipview setting only applies to students - if skipview is set and a teacher/admin is logged in it reacts as if skipview is set to never - this is historically because the view.php page was the only navigation point to allow a teacher to access SCORM reports.

      Show
      Create a SCORM package in your course and test with the following settings (use a scorm that provides a complete status - Fruit quiz is a good one) Test 1 Use the following settings: Number of attempts: Unlimited Force new attempt: Yes Student skip content structure: Always Display package: New Window Enter the SCORM as a student (not admin/teacher) Complete the SCORM - make sure lesson_status is complete or passed. Enter the SCORM again and make sure it generates a new attempt. Test 2 Use the following settings: Number of attempts: Unlimited Force new attempt: Yes Student skip content structure: First Access Display package: New Window Enter the SCORM as a student (not admin/teacher) On first entry it should open popup immediately - complete this attempt by answering all questions correctly and make sure it provides a lesson_status of complete or passed. Enter the SCORM again (If first entry was completed) it should display scorm/view.php to student with form to allow entry but no "checkbox" to "start new attempt", Enter SCORM and make sure it generates a new attempt. Test 3 Use the following settings: Number of attempts: Unlimited Force new attempt: Yes Student skip content structure: Always Display package: current Window Enter the SCORM as a student (not admin/teacher) Complete the SCORM - make sure lesson_status is complete or passed. Enter the SCORM again and make sure it generates a new attempt. Test 4 Use the following settings: Number of attempts: Unlimited Force new attempt: No Student skip content structure: Never Display package: current Window Enter the SCORM Complete the SCORM - make sure lesson_status is complete or passed. Enter the SCORM again, make sure the checkbox "start new attempt" is ticked and make sure it generates a new attempt. Test 5 Use the following settings: Number of attempts: Unlimited Force new attempt: No Student skip content structure: Never Display package: current Window Enter the SCORM Complete the SCORM - make sure lesson_status is complete or passed. Enter the SCORM again, make sure the checkbox "start new attempt" is NOT ticked and make sure "review mode" is shown at the top of the TOC Test 6 Use the Single Activity Course format and the following settings in your SCORM: Number of attempts: Unlimited Force new attempt: Yes Student skip content structure: First Access Display package: New Window Enter the SCORM as a student (not admin/teacher) On first entry it should open popup immediately - complete this attempt by answering all questions correctly and make sure it provides a lesson_status of complete or passed. Enter the SCORM again (If first entry was completed) it should display scorm/view.php to student with form to allow entry but no "checkbox" to "start new attempt", Enter SCORM and make sure it generates a new attempt. NOTE: The skipview setting only applies to students - if skipview is set and a teacher/admin is logged in it reacts as if skipview is set to never - this is historically because the view.php page was the only navigation point to allow a teacher to access SCORM reports.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      master_MDL-37733

      Description

      Set a SCORM package to "Force new attempt"

      • If using the Enter button on content structure page, the setting is properly used (parameter newattempt=on is shown on the URL)
      • If content structure page is skipped, and the SCORM package is directly launched from the course page, it works fine as well.
      • However, if the course structure is displayed on the entry page and that the student clicks on the link inside the structure treeview to enter the package (instead of the Enter button) then the parameter is not considered and the package starts in review mode.

      I think it should be consistent between the two options for entering the course. A workaround is to hide the structure on the entry page but some information is lost for the students. It has been reproduced with Chrome and Firefox.

      I actually tested it on 2.2.4 and 2.3.2.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/May/14