mebis-lp / mod_learningmap

GitHub Repository for mod_learningmap
https://moodle.org/plugins/mod_learningmap
GNU General Public License v3.0
12 stars 6 forks source link

Warning on default completion page #110

Open t-schroeder opened 1 month ago

t-schroeder commented 1 month ago

In Moodle 4.3+ there is a page called "default activity completion". It displays this with debug logging turned on:

Custom completion rule completiontype of module learningmap has wrong suffix and has been removed from the form. This has to be fixed by the developer
line 131 of /completion/classes/edit_base_form.php: call to debugging()
line 153 of /completion/classes/edit_base_form.php: call to core_completion_edit_base_form->add_custom_completion()
line 178 of /completion/classes/form/form_trait.php: call to core_completion_edit_base_form->add_completion_rules()
line 254 of /completion/classes/edit_base_form.php: call to core_completion_edit_base_form->add_completion_elements()
line 102 of /completion/classes/defaultedit_form.php: call to core_completion_edit_base_form->definition()
line 217 of /lib/formslib.php: call to core_completion_defaultedit_form->definition()
line 47 of /completion/classes/defaultedit_form.php: call to moodleform->__construct()
line 83 of /course/classes/output/bulk_activity_completion_renderer.php: call to core_completion_defaultedit_form->__construct()
line 97 of /course/defaultcompletion.php: call to core_course_bulk_activity_completion_renderer->defaultcompletion()
sh-csg commented 1 week ago

Thanks a lot for reporting this! Unfortunately I can't reproduce it. Do you use the current version of mod_learningmap?