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

Error JS in navigation buttons in scorm player

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.6.11, 2.9.1
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_29_STABLE

      Description

      I get this error when I click second time in the button next >> in the navigation menu viewing a scorm:

      Uncaught TypeError: Cannot read property 'children' of undefined
      /lib/javascript.php/-1/mod/scorm/module.js:411

      Uncaught TypeError: Cannot read property 'id' of undefined
      /lib/javascript.php/-1/mod/scorm/module.js:632

      Uncaught TypeError: Cannot read property 'id' of undefinedmodule.js:632 (anonymous function)yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26572 Y.Subscriber._notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26601 Y.Subscriber.notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26264 Y.CustomEvent._notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26390 Y.CustomEvent._procSubsyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26357 Y.CustomEvent.fireSimpleyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26339 Y.CustomEvent._fireyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26308 Y.CustomEvent.fireyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:43401 Notifier.fireyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:44702 (anonymous function)yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26572 Y.Subscriber._notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26601 Y.Subscriber.notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26264 Y.CustomEvent._notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26390 Y.CustomEvent._procSubsyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26357 Y.CustomEvent.fireSimpleyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26339 Y.CustomEvent._fireyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26308 Y.CustomEvent.fireyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:33336 Event._createWrapper.cewrapper.fn
      

      Uncaught TypeError: Cannot read property 'children' of undefinedmodule.js:411 Y.use.scorm_nextmodule.js:519 Y.use.scorm_launch_next_scomodule.js:718 Y.use.scorm_buttons.(anonymous function).Y.Button.on.clickyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26572 Y.Subscriber._notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26601 Y.Subscriber.notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26264 Y.CustomEvent._notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26390 Y.CustomEvent._procSubsyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:40576 CEProto.fireComplexyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26337 Y.CustomEvent._fireyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:27492 ET.fireyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:46715 (anonymous function)yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:34800 delegate.notifySubyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26601 Y.Subscriber.notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26264 Y.CustomEvent._notifyyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26390 Y.CustomEvent._procSubsyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26357 Y.CustomEvent.fireSimpleyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26339 Y.CustomEvent._fireyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26308 Y.CustomEvent.fireyui_combo.php?rollup/3.13.0/yui-moodlesimple.js:33336 Event._createWrapper.cewrapper.fn
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              pablog2 pablog2
              Participants:
              Component watchers:
              Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: