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

SCORM player shortly displays TOC while package is loading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.4, 3.2.1
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course with a scorm activity that has 'Display course structure in player' set to Disabled.
      2. Enter the scorm package activity

      Result before fix: TOC is briefly visible and disappears again
      Result after fix: course TOC is not shown
      (you might need a slow system/host to reproduce this more easily)

      Regression Test: Also check if all other 'Display course structure in player' options work as intended.

      Show
      Create a course with a scorm activity that has 'Display course structure in player' set to Disabled. Enter the scorm package activity Result before fix: TOC is briefly visible and disappears again Result after fix: course TOC is not shown (you might need a slow system/host to reproduce this more easily) Regression Test: Also check if all other 'Display course structure in player' options work as intended.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-56859-master

      Description

      If you enter a scorm package activity of a course with 'Display course structure in player' set to Disabled, the TOC is displayed briefly.

      The problem appears to be triggered because the TOC html generated by player.php is already visible before it is further initialized by module.js (which removes the TOC if the option is selected).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Jan/17