On editing Glossary settings to set completion tracking, debugging shows an error related to the lack of a grade item. The error is only produced when choosing 'Show activity as complete when conditions are met' and 'Student must receive a grade to complete this activity' is checked. Other combinations of these two options do not produce the error.
The error is:
Debug info: Cannot find grade item for 'glossary'
|
cm '26' matching number '0'
|
Error code: err_system
|
Stack trace:
|
line 1326 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 792 of /lib/completionlib.php: call to completion_info->update_state()
|
line 383 of /course/modedit.php: call to completion_info->reset_all_state()
|
- blocks
-
MDLQA-2001 CLONE - A teacher can set 'receive grade' as a completion condition for a glossary
- Passed