Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
-
Linux server, Apache,
-
MySQL
-
MOODLE_22_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
-
Description
When I upgrade our Clone from 2.0.6 to 2.2+ (after a previous update from 1.9.10 to 2.0.6), I
get the following error:
---------------------
Debug info: Data too long for column 'questionsummary' at row 1
INSERT INTO moquestion_attempts (questionid,variant,behaviour,questionsummary,rightanswer,maxmark,minfraction,flagged,responsesummary,timemodified,questionusageid,slot) VALUES(?,?,?,?,?,?,?,?,?,?,?,?)
-------------------
The complete output is attached. Apparently, the questionsummary created is too large.
The upgrade script should check whether the string is to large and cut it to the maximum size
of the questionsummary field (type text) when necessary.
Attachments
Issue Links
- is duplicated by
-
MDL-30859 PHP error shown when attempting quiz
-
- Closed
-