-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.8.2
-
None
-
Moodle 1.8.2, MySQL 5.0.22, PHP 5.1.4, Apache 2.0.59, IE 6.0.2800.1106
-
MySQL
-
MOODLE_18_STABLE
An error is received when adding an Evaluation when logged in as a Student. The error is: "Failed to save submission."
The debug message is:
Field 'gradecomment' doesn't have a default value
INSERT INTO mdl_webquest_submissions
( WEBQUESTID, TITLE, DESCRIPTION, USERID, TIMECREATED )
VALUES ( 1, 'Test', '', 1, 1207258926 )
line 1419 of lib\dmllib.php: call to debugging()
line 70 of mod\webquest\upload.php: call to insert_record()
To recreate the problem:
1. Create a webquest
2. Log in as a student in the course
3. Go to the Evaluation screen
4. Enter text in Title and Submission fields
5. Click Submit Assignment button