-
Bug
-
Resolution: Fixed
-
Major
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
MDL-33885-master -
When posting a blog with a really long title, you get this error.
Debug info: Data too long for column 'subject' at row 1
INSERT INTO mdl_post (userid,subject,summary,rating,attachment,publishstate,courseid,groupid,module,moduleid,coursemoduleid,content,format,uniquehash,lastmodified,created,usermodified) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
[array (
0 => '3',
1 => 'adsfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfadsfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfadsfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf',
2 => NULL,
3 => 0,
4 => NULL,
5 => 'site',
6 => 2,
7 => 0,
8 => 'blog',
9 => 0,
10 => 0,
11 => NULL,
12 => 1,
13 => '',
14 => 1340176615,
15 => 1340176615,
16 => NULL,
)]
Error code: dmlwriteexception
Stack trace:
line 410 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 948 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 990 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 356 of /blog/locallib.php: call to mysqli_native_moodle_database->insert_record()
line 186 of /blog/edit.php: call to blog_entry->add()
- Discovered while testing
-
MDLQA-3912 CLONE - Moodle 2.3 QA Cycle 2 Test Session 3
-
- Passed
-