Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.8.7, 2.9.1, 3.0
-
Component/s: Resource
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
-
Fixed Branches:MOODLE_28_STABLE, MOODLE_29_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-50892-master -
Pull Master Diff URL:
Description
Naming an activity or ressource '0' (zero) causes an error. Here's the error log. I found the bug on Moodle 3.0
Debug info:
Error code: invalidcoursemodule
Stack trace:
line 230 of /lib/modinfolib.php: moodle_exception thrown
line 2504 of /lib/moodlelib.php: call to course_modinfo->get_cm()
line 39 of /mod/survey/view.php: call to require_login()