Closed
Description
Today, we've received a report that the evaluation form has closed on 31st January instead of 3rd February. I could reopen it only by setting send_status_statement_request
in the event_triggers
table from 7th May to 7th October.
My suspect is the isEvaluationAvailable
function in SemesterEvaluationController
. Particularly this point:
public static function isEvaluationAvailable(): bool
{
$available = EventTrigger::find(EventTrigger::SEMESTER_EVALUATION_AVAILABLE)->date;
$deadline = self::deadline();
return now() <= $deadline && $available >= Semester::next()->getStartDate();
}
I'll check this out.