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

Auto-Continue and Prerequisites bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4.2
    • 2.0.3, 2.4
    • SCORM
    • MOODLE_20_STABLE, MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • master_MDL-29207
    • Hide

      Ask Dan for a SCORM file that uses pre-reqs that allows you to Test this (don't use zip attached to this bug).
      clear browser and moodle cache first (changes to js files)

      Add the scorm to your course and set
      Autocontinue = true
      Don't use the links in the TOC becuase there is another bug related to auto-continue and TOC - only use navigation within scorm package.
      progress through the scorm and at the end of the SCO press "continue" or "next module" link inside the pacakge (depends on the package)
      It should take you to the next sco automatically.

      Warning: If looking at the JS console ignore this error which comes from MDL-37844:
      Error: TypeError: scorm_layout_widget.getUnitByPosition is not a function
      Source File: mod/scorm/loaddatamodel.php?a=448&scoid=2991&currentorg=&attempt=1
      Line: 219

      Show
      Ask Dan for a SCORM file that uses pre-reqs that allows you to Test this (don't use zip attached to this bug). clear browser and moodle cache first (changes to js files) Add the scorm to your course and set Autocontinue = true Don't use the links in the TOC becuase there is another bug related to auto-continue and TOC - only use navigation within scorm package. progress through the scorm and at the end of the SCO press "continue" or "next module" link inside the pacakge (depends on the package) It should take you to the next sco automatically. Warning: If looking at the JS console ignore this error which comes from MDL-37844 : Error: TypeError: scorm_layout_widget.getUnitByPosition is not a function Source File: mod/scorm/loaddatamodel.php?a=448&scoid=2991&currentorg=&attempt=1 Line: 219

      When you use SCORM Auto-Continue to "Yes" and you use Prerequisites the ToC doesn't refresh correctly and the user doesn't progress to the next SCO

      Also - the callback.js.php is basically pure js so we should shift it to module.js so it can be cached better. If we add error handling again at some point we shold do it using js instead of php anyway.

      it throws the following JS error during TOC refresh:
      Error: TypeError: scorm_tree_node is null
      mod/scorm/loaddatamodel.php?a=448&scoid=2991&currentorg=&attempt=1
      Line: 191

      Error: TypeError: scorm_tree_node is null
      Source File: mod/scorm/module.js
      Line: 408

            danmarsden Dan Marsden
            silviabastos Silvia Bastos
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            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.