-
Bug
-
Resolution: Fixed
-
Blocker
-
2.2
-
MOODLE_22_STABLE
-
MOODLE_22_STABLE
-
MDL-30293-master -
admin/cron.php is breaking heavily (not always only when scorm_cron is run)
Processing module function scorm_cron ...Updating scorm packages which require daily update
|
!!! Error writing to database !!!
|
!! You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE timemodified < '1321328466'' at line 1
|
DELETE FROM mdl_scorm_aicc_session WHERE WHERE timemodified < ?
|
[array (
|
0 => 1321328466,
|
)] !!
|
!! Stack trace: * line 397 of \lib\dml\moodle_database.php: dml_write_exception thrown
|
* line 1096 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
|
* line 513 of \mod\scorm\lib.php: call to mysqli_native_moodle_database->delete_records_select()
|
* line 258 of \lib\cronlib.php: call to scorm_cron()
|
* line 85 of \admin\cron.php: call to cron_run()
|
!!
|
I traced it back to line 513 on scorm/lib.php
$DB->delete_records_select('scorm_aicc_session', 'WHERE timemodified < ?', array($expiretime));
|
Looks like a regression cause by the aicc changes this week.
Thanks
- is a regression caused by
-
MDL-27036 Improve AICC HACP Handling so that direct login isn't required
-
- Closed
-