-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.0
-
None
-
MOODLE_20_STABLE
Go to the admin/qtypes.php. You see the number of each questions as a link to questioninstances report. However, trying to access it you get an error:
Debug info: Data too long for column 'action' at row 1
INSERT INTO mdl_log (time,userid,course,ip,module,cmid,action,url,info) VALUES(?,?,?,?,?,?,?,?,?)
[array (
0 => 1283712904,
1 => '2',
2 => '1',
3 => '127.0.0.1',
4 => 'admin',
5 => 0,
6 => 'report questioninstances',
7 => 'report/questioninstances/index.php?qtype=preg',
8 => 'preg',
)]
Stack trace:
line 394 of \lib\dml\moodle_database.php: dml_write_exception thrown
line 816 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1676 of \lib\datalib.php: call to mysqli_native_moodle_database->insert_record_raw()
line 22 of \admin\report\questioninstances\index.php: call to add_to_log()
Should be easy to fix thought.