-
Bug
-
Resolution: Fixed
-
Minor
-
2.8.7, 2.9.1
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
master_
MDL-50972 -
Even if the Auto-commit option is unchecked in both general and module's Scorm configuration, Moodle keeps auto-commiting the sco values.
It looks like the autocommit value is set to a string "0" instead of 0 or false, confirming the test in scorm_13.js l.748
I have to override $scorm->autocommit value in scorm_13.php l.49 to disable the Auto-commit's timeout :
if ($scorm->autocommit == 0) $scorm->autocommit = false ;