-
Bug
-
Resolution: Fixed
-
Critical
-
2.0.3, 2.1, 2.2
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
restore_gradebook_in_or_equal_master
-
Easy
-
I created a backup file from a course with nothing in it (see attached files), then got:
Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays
More information about this error
Stack trace:
line 582 of /lib/dml/moodle_database.php: coding_exception thrown
line 326 of /backup/moodle2/restore_stepslib.php: call to moodle_database->get_in_or_equal()
line 359 of /backup/util/plan/restore_structure_step.class.php: call to restore_gradebook_structure_step->after_execute()
line 108 of /backup/util/plan/restore_structure_step.class.php: call to restore_structure_step->launch_after_execute_methods()
line 153 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()
line 148 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
line 157 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
line 302 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
line 144 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
line 45 of /backup/restore.php: call to restore_ui->execute()
- has a non-specific relationship to
-
MDL-27988 ID Number activities into the calculated grade items are not restored in a full course restore
- Closed