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

SCORM Player - TOC Refresh problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.4.2
    • 2.2.2, 2.3.4, 2.4.1, 2.5
    • SCORM
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_24_STABLE
    • master_MDL-33078
    • 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.

      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);

            danmarsden Dan Marsden
            fwelz Federico Welz
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.