Description: If you want to change on a course default setting in Course Completion menu in Default activity completion and you have not defined any groups or groupings yet or you have removed all groups and groupings, you will get and coding error announcement. (Moodle 3.9.10)
How to test?
Do not define groups or Grouping to the Course
Go to Course administration menu>Course Completion>Default Activity Completion
Edit settings for Group Selection
You will get following warning and Continue leads to Moodle dashboard
"Please create at least one group in this course.
manage course groups
get back to the course"
"Coding error detected, it must be fixed by a programmer: JavaScript collection has already been started.
More information about this error"
I suspect at some part you should allow value null or 0. I am not coding pro but issue is causing for some users unnecessary worries.
Workaround: Create a group for the course. Make changes and you can delete the group after.
Description: If you want to change on a course default setting in Course Completion menu in Default activity completion and you have not defined any groups or groupings yet or you have removed all groups and groupings, you will get and coding error announcement. (Moodle 3.9.10)
How to test?
You will get following warning and Continue leads to Moodle dashboard
"Please create at least one group in this course.
manage course groups get back to the course"
"Coding error detected, it must be fixed by a programmer: JavaScript collection has already been started.
More information about this error"
I suspect at some part you should allow value null or 0. I am not coding pro but issue is causing for some users unnecessary worries.
Workaround: Create a group for the course. Make changes and you can delete the group after.