Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.4, 2.5.1
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
MDL-41075-master-3 -
Easy
-
-
8
-
FRONTEND Sprint 7
Description
On the Participants page, selecting selecting 'Choose...' from the My Courses dropdown results in an error.
Pre-condition:
User used for testing is enrolled in at least course
Steps to reproduce:
1. As a user with at least one course enrollment, access a course.
2. In Navigation block, click Participants.
3. From My Courses dropdown, select the 'Choose...' option.
Expected results: The form should not submit.
Actual results: The form submits, but 'Choose...' isn't a valid course and an error results.
Can not find data record in database table course
Debug info: SELECT * FROM course WHERE id = ?
[array (
0 => 0,
)]
Error code: invalidrecord
Stack trace:
• line 1357 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
• line 1333 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
• line 43 of /user/index.php: call to moodle_database->get_record()
Attachments
Issue Links
- Discovered while testing
-
MDL-43396 Grade report overview/user: "Choose..." options don't make sense when selected
-
- Closed
-
-
MDL-43398 Wiki: "Choose..." options cause SQL errors or seen inappropriate.
-
- Closed
-
-
MDL-43399 Badge: the "Choose..." option can still be selected once a role is choosen.
-
- Closed
-
-
MDL-43358 Wiki: TODO and comment call to page_index()
-
- Closed
-
-
MDL-43359 workshop - Accumulative grading page: "Best possible grade / Scale" option can be saved with the default and the view page can be saved with "Choose..."
-
- Closed
-