-
Bug
-
Resolution: Fixed
-
Minor
-
2.3.1
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
This is split off from MDL-34251. Tõnis Tartes reports:
Tim, could you please help?
After upgrade to 2.3.1+ i have got the same problem that my cron never finishes.
Log:
Processing module function quiz_cron ...
Looking for quiz overdue quiz attempts between neljapäev, 1. jaanuar 1970, 02:00 and esmaspäev, 16. juuli 2012, 11:20...
!!! Vigane valemi süntaks algusega '0.1*(((8.0)(2*(0.09)))*2) ((2.6)(0.09)) !!!
!!
Error code: illegalformulasyntax !!
!! Stack trace:
- line 356 of /question/type/calculated/question.php: moodle_exception thrown
- line 344 of /question/type/calculated/question.php: call to qtype_calculated_variable_substituter->calculate_raw()
- line 70 of /question/type/calculated/question.php: call to qtype_calculated_variable_substituter->calculate()
- line 150 of /question/type/calculated/question.php: call to qtype_calculated_question->calculate_all_expressions()
- line 59 of /question/type/calculated/question.php: call to qtype_calculated_question_helper::apply_attempt_state()
- line 1220 of /question/engine/questionattempt.php: call to qtype_calculated_question->apply_attempt_state()
- line 721 of /question/engine/questionusage.php: call to question_attempt::load_from_records()
- line 344 of /question/engine/datalib.php: call to question_usage_by_activity::load_from_records()
- line 78 of /question/engine/lib.php: call to question_engine_data_mapper->load_questions_usage_by_activity()
- line 468 of /mod/quiz/attemptlib.php: call to question_engine::load_questions_usage_by_activity()
- line 78 of /mod/quiz/cronlib.php: call to quiz_attempt->__construct()
- line 469 of /mod/quiz/lib.php: call to mod_quiz_overdue_attempt_updater->update_overdue_attempts()
- line 259 of /lib/cronlib.php: call to quiz_cron()
- line 88 of /admin/cron.php: call to cron_run()
!!
For what i understand, it has wrong formula syntax, but could you give me any suggestions, what is wrong with the syntax and how to fix it?
- caused a regression
-
MDL-45455 Quiz cron not rolling back on exception in process_finish
- Closed
- has a non-specific relationship to
-
MDL-34251 Cron task never finishes. Gets to line 'Looking for quiz overdue quiz attempts between Wednesday, 31 December 1969, 6:00 PM...' then never advances
- Closed
- is a regression caused by
-
MDL-3030 Late quiz attempts should be closed automatically
- Closed