Affects Version/s: 2.3
Fix Version/s: 2.3.1
enable activity completion.
Create a new SCORM package
set completion tracking to "show activity is complete when conditions are met"
tick the checkbox: require grade
Pull from Repository:
Pull Master Branch:master_
Pull Master Diff URL:
Thanks to Matt Clarkson for reporting this.
If activity completion is set to require a grade and the following settings are made:
show activity is complete when conditions are met.
we get this error:
Debug info: Cannot find grade item for 'scorm'
cm '284' matching number '0'
Error code: err_system
line 1226 of /lib/completionlib.php: moodle_exception thrown
line 584 of /lib/completionlib.php: call to completion_info->internal_systemerror()
line 517 of /lib/completionlib.php: call to completion_info->internal_get_state()
line 692 of /mod/scorm/lib.php: call to completion_info->update_state()
line 153 of /mod/scorm/lib.php: call to scorm_grade_item_update()
line 447 of /course/modedit.php: call to scorm_add_instance()