-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.5, 3.2.2, 3.3
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-58431-master -
I discovered this while testing MDL-57760. This seems to be related (or maybe a duplicate) of MDL-26671.
Steps to reproduce
- Create a lesson with several content pages
- On the first page, define a jump to random content page
- As a student, go that lesson for the first time (or after the lesson has been reset)
Expected behaviour: The jump to a random page should work
Actual behaviour:
Error: could not find lesson records
|
|
Error code: cannotfindrecords
|
|
line 496 of /lib/setuplib.php: moodle_exception thrown
|
line 183 of /mod/lesson/locallib.php: call to print_error()
|
line 201 of /mod/lesson/pagetypes/branchtable.php: call to lesson_unseen_branch_jump()
|
line 3424 of /mod/lesson/locallib.php: call to lesson_page_type_branchtable->check_answer()
|
line 2693 of /mod/lesson/locallib.php: call to lesson_page->record_attempt()
|
line 70 of /mod/lesson/continue.php: call to lesson->process_page_responses()
|