-
Bug
-
Resolution: Fixed
-
Minor
-
4.2.5, 4.3.2
-
MOODLE_402_STABLE, MOODLE_403_STABLE
-
MOODLE_402_STABLE, MOODLE_403_STABLE
-
MDL-80488-403 -
If try add title to content page more than 255 characters we will stumble upon a mistake:
Debug info: Data too long for column 'title' at row 1
UPDATE mdl_lesson_pages SET qtype = ?,title = ?,lessonid = ?,timemodified = ?,contents = ?,contentsformat = ? WHERE id=?
[array (
0 => 2,
1 => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor me',
2 => '1',
3 => 1703501550,
4 => 'is it correct?<br>',
5 => '1',
6 => '1',
)]
Error code: dmlwriteexception Stack trace:
- line 497 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 293 of /lib/dml/moodle_read_slave_trait.php: call to moodle_database->query_end()
- line 1604 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->query_end()
- line 1636 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
- line 178 of /mod/lesson/pagetypes/truefalse.php: call to mysqli_native_moodle_database->update_record()
- line 179 of /mod/lesson/editpage.php: call to lesson_page_type_truefalse->update()
Because we don't have a handler for the form on the javascript side.
- has a non-specific relationship to
-
MDL-82581 A "label" title longer than 255 characters throws an exception
-
- Closed
-