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

"General Exception" scorm_12.js LMSCommit function

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.2
    • 1.9.9, 1.9.10, 2.0
    • SCORM
    • None
    • n/a
    • Any
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • MOODLE_20_STABLE

      Whilst creating some SCORM 1.2 objects in CourseLab and importing them into Moodle (1.9.9+ and 2.0) I keep getting an alert message when moving between slides:

      ScormApi2004.LMSCommit:
      General exception

      Investigating the call to "mod/scorm/datamodel.php" results in "true\n0" however I found the following lines of code:

      scorm_12.js
      433: result = ('true' == result) ? 'true' : 'false';
      434: errorCode = (result ==' true')? '0' : '101';

      which results in errorCode always being set to '101' (general exception), causing the alert message. (note proceeding the space in ' true').

            danmarsden Dan Marsden
            hais Hais Deakin
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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