-
Improvement
-
Resolution: Fixed
-
Minor
-
2.2.3
-
MOODLE_22_STABLE
-
MOODLE_24_STABLE
-
MDL-33702-master -
In SCORM 1.2 the status of an objective comes from cmi.objectives.n.status. In SCORM 2004 this was split into cmi.objectives.n.success_status and cmi.objectives.n.completion_status, with cmi.objectives.n.progress_measure a useful normalised value.
The /mod/scorm/userreport.php page currently creates an HTML table for objectives with columns 'identifier', 'status', 'raw', 'min' and 'max'. It seems strange for the raw value to come before the min and max bounds, rather than in between.
The status column is populated only from the SCORM 1.2 data model location. There needs to be added consideration for SCORM 2004 so that something suitable gets displayed in this column. Perhaps the progress_measure as a percentage could be used until success_status is known? e.g. "Unattempted" > "25% done" > "Passed/Failed", with fallback to completion_status if those properties are undefined.