-
Bug
-
Resolution: Fixed
-
Minor
-
2.8
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
-
MDL-47902_scorm_inappropriate_default_values -
cmi scorm variables are set with incorrect default values, such as the string "null" being set for some numeric values in scorm 1.3. They should instead be done like scorm 1.2 - left unset.
Regression symptoms from this include activities incorrectly being marked complete as soon as they are viewed. This is because the test for completion is:
if ((cmi.completion_threshold != null) && (cmi.progress_measure != null))
|
Because each value is set to the string "null", they are not null, and the scorm is marked as complete.
- has a non-specific relationship to
-
MDL-46669 mod_scorm: GetValue adds quotes to string values, in 1.3 copy only
- Closed