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

Javascript error in SCORM module with drop down menu navigation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.5, 2.8.3
    • 2.7.6, 2.8.4
    • SCORM
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • master_MDL-46390
    • Hide
      • Set an activity using the attached package and 'Display course structure in player' to 'In a drop down menu'
      • Go to the player page
      • Select the root scoid
      • make sure no javascript errors appear and the scorm package loads the first correct sco.
      Show
      Set an activity using the attached package and 'Display course structure in player' to 'In a drop down menu' Go to the player page Select the root scoid make sure no javascript errors appear and the scorm package loads the first correct sco.

    Description

      During MDL-35870 testing session, using the attached scorm package, I've seen a couple of JS errors in the console.

      You can reproduce the issue:

      • Set an activity using the attached package and 'Display course structure in player' to 'In a drop down menu'
      • Go to the player page
      • Select the root scoid

      Uncaught TypeError: Cannot read property 'url' of undefined module.js:731
      (anonymous function) module.js:731
      proto._notify yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1089
      (anonymous function) yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1005
      proto._notify yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1089
      handleLoader yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:1234
      Y.Loader._finish yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8152
      Y.Loader._onSuccess yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8201
      complete yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8440
      Y.Get.js.onSuccess yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:8502
      Transaction._finish yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:4944
      Transaction._next yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5141
      Transaction._progress yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5249
      onLoad yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5041
      Uncaught TypeError: Cannot read property 'id' of undefined module.js:618
      (anonymous function) module.js:618
      Y.Subscriber._notify yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13680
      Y.Subscriber.notify yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13709
      Y.CustomEvent._notify yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13372
      Y.CustomEvent._procSubs yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13498
      Y.CustomEvent.fireSimple yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13465
      Y.CustomEvent._fire yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13447
      Y.CustomEvent.fire yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13416
      Notifier.fire yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:30549
      (anonymous function) yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:31851
      Y.Subscriber._notify yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13680
      Y.Subscriber.notify yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13709
      Y.CustomEvent._notify yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13372
      Y.CustomEvent._procSubs yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13498
      Y.CustomEvent.fireSimple yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13465
      Y.CustomEvent._fire yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13447
      Y.CustomEvent.fire yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13416
      cewrapper.fn yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:20467
      

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              dmonllao David Monllaó
              Simey Lameze Simey Lameze
              Andrew Lyons Andrew Lyons
              Mark Nelson Mark Nelson
              Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Mar/15