-
Bug
-
Resolution: Fixed
-
Minor
-
3.4
-
MOODLE_34_STABLE
-
MOODLE_34_STABLE
-
MDL-60631_master -
This is a regression recently introduced in MDL-60434. Models evaluation CLI script allow users to select a subset of the course analysable elements. This do not work anymore since MDL-60434 as analysables now receive just an int (the course int in the only case we have in core)
Notice: Trying to get property of non-object in /home/davidm/Desktop/moodlecode/master/analytics/classes/local/analyser/by_course.php on line 57
|
|
Notice: Trying to get property of non-object in /home/davidm/Desktop/moodlecode/master/analytics/classes/course.php on line 162
|
|
Notice: Trying to get property of non-object in /home/davidm/Desktop/moodlecode/master/analytics/classes/course.php on line 181
|
|
Notice: Trying to get property of non-object in /home/davidm/Desktop/moodlecode/master/analytics/classes/course.php on line 194
|
!!! Can not find data record in database table course. !!!
|
!! SELECT * FROM {course} WHERE id IS NULL
|
[array (
|
)]
|
Error code: invalidrecord !!
|
!! Stack trace: * line 1546 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
|
* line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
|
* line 588 of /lib/datalib.php: call to moodle_database->get_record()
|
* line 194 of /analytics/classes/course.php: call to get_course()
|
* line 389 of /analytics/classes/course.php: call to core_analytics\course->load()
|
* line 253 of /analytics/classes/course.php: call to core_analytics\course->get_course_data()
|
* line 403 of /analytics/classes/course.php: call to core_analytics\course->get_start()
|
* line 129 of /lib/classes/analytics/target/course_dropout.php: call to core_analytics\course->was_started()
|
* line 363 of /analytics/classes/local/analyser/base.php: call to core\analytics\target\course_dropout->is_valid_analysable()
|
* line 195 of /analytics/classes/local/analyser/base.php: call to core_analytics\local\analyser\base->process_analysable()
|
* line 258 of /analytics/classes/local/analyser/base.php: call to core_analytics\local\analyser\base->get_analysable_data()
|
* line 521 of /analytics/classes/model.php: call to core_analytics\local\analyser\base->get_labelled_data()
|
* line 92 of /admin/tool/analytics/cli/evaluate_model.php: call to core_analytics\model->evaluate()
|
!!
|
- is a regression caused by
-
MDL-60434 Scalability issues without lazy load site analysables
-
- Closed
-