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

SCORM Player - TOC Refresh problem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2, 2.3.4, 2.4.1, 2.5
    • Fix Version/s: 2.4.2
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      Add the SCORM package attached to this bug to your Moodle site.

      enter the SCORM package
      click the init button first.
      set lesson status == completed or passed
      click Finish button
      TOC on left should update and Module 2 will be selectable (it's not always obvious but a mouse rollover should confirm that the link is now active.
      Exit SCORM
      Delete all users SCORM attempts
      enter the SCORM package again
      click the init button first.
      set lesson status == completed or passed
      click commit button
      TOC on left should update and Module 2 will be selectable (it's not always obvious but a mouse rollover should confirm that the link is now active.

      Show
      Add the SCORM package attached to this bug to your Moodle site. enter the SCORM package click the init button first. set lesson status == completed or passed click Finish button TOC on left should update and Module 2 will be selectable (it's not always obvious but a mouse rollover should confirm that the link is now active. Exit SCORM Delete all users SCORM attempts enter the SCORM package again click the init button first. set lesson status == completed or passed click commit button TOC on left should update and Module 2 will be selectable (it's not always obvious but a mouse rollover should confirm that the link is now active.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      master_MDL-33078

      Description

      Currently only the TOC is updated after each call to LMSFinish(), but not after each LMSCommit().

      If a SCORM package is configured with "<adlcp:prerequisites>" the user has no way to continue to the next menu item after completing the prerequisites.

      Posible fix: add this to scorm_12.js.php line 449

      // trigger TOC update
      var sURL = "<?php echo $CFG->wwwroot; ?>" + "/mod/scorm/prereqs.php?a=<?php echo $scorm->id ?>&scoid=<?php echo $scoid ?>&attempt=<?php echo $attempt ?>&mode=<?php echo $mode ?>&currentorg=<?php echo $currentorg ?>&sesskey=<?php echo sesskey(); ?>";
      YAHOO.util.Connect.asyncRequest('GET', sURL, this.connectPrereqCallback, null);

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Mar/13