-
Bug
-
Resolution: Fixed
-
Blocker
-
2.7
-
MOODLE_27_STABLE
-
MOODLE_27_STABLE
-
MDL-45075-master -
Steps to reproduce:
- Log in as teacher
- Create forum with 'Subscription Mode' set to 'Auto subscription'
- Save and you will see following error
Debug info: SELECT id,course FROM {course_modules} WHERE id IS NULL
[array (
)]
Error code: invalidrecord
Stack trace:
line 1451 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 1427 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 7074 of /lib/accesslib.php: call to moodle_database->get_record()
line 4832 of /mod/forum/lib.php: call to context_module::instance()
line 132 of /mod/forum/lib.php: call to forum_subscribe()
line 113 of /course/modlib.php: call to forum_add_instance()
line 268 of /course/modedit.php: call to add_moduleinfo()
Alternatively run:
MDLQA-6700Step 5
- is a regression caused by
-
MDL-40062 Replace add_to_log with an event trigger - mod_forum
-
- Closed
-
- Testing discovered
-
MDLQA-6700 CLONE - A teacher can set one of 4 possible forum subscription options
-
- Passed
-