Back to Synapse LMS Pro Support


When submitting a test using the showTest component we are receiving a database error that fields (upload, feedback, grade) do not have a default value.

SQLSTATE[HY000]: General error: 1364 Field 'upload' doesn't have a default value
(SQL: insert into `briddle_lms_tests_students` (`students_id`, `tests_id`, `answer`, `submitted`) values (1, 1, 1: Red<br /> 2: Purple<br />, 2021-10-26 15:34:37))

I don't see anywhere in the Briddle\Lms\Components\Test::onSubmitTest where these values are set before the save method is called.

Is this a bug, or are we missing something?

1-1 of 1