catalyst / moodle-mod_subcourse

Subcourse module for Moodle
https://moodle.org/plugins/mod_subcourse
GNU General Public License v3.0
24 stars 41 forks source link

Error using "passing grade" as a condition of completion in subcourse activity #65

Open Beansworthy opened 1 year ago

Beansworthy commented 1 year ago

Hi there,

I get the following error when trying to enable a passing grade as a completion requirement for a subcourse activity, and also for courses using the subcourse format

20230320_091847

I have added a passing grade of 100 to the parent grade book subcourse item.

danmarsden commented 1 year ago

It doesn't look like this is currently supported by the subcourse - I suspect this may be a limitation of the Moodle core completion settings - although you can set a "grade to pass" on a grade category in Moodle I don't think that would be picked up by the core completion settings when checking if a grade is received. If you have internal development capabliities feel free to help by submitting a pull request with an improvement for this!