-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.2.5
-
MOODLE_22_STABLE
-
The log.action column on our Moodle instance is varchar(15) (MySQL) and it should be:
<FIELD NAME="action" TYPE="char" LENGTH="40" NOTNULL="true" SEQUENCE="false" PREVIOUS="cmid" NEXT="url"/>
The instance was upgraded from 1.9 to 2.2 - I imagine that something during an upgrade went wrong and column was no resized.
Easy way to reproduce it is to simply re-start a quiz, "continue attempt" message is too long (16 characters).
One way of dealing with it would be to add check like "Check indexes" or "Check defaults" from XMLDB editor, that would check if the column sizes are as defined in install.xml.
- duplicates
-
MDL-32543 After an update in some circumstances the field size of mdl_log.action is smaller than log_display.action
- Closed
- has a non-specific relationship to
-
MDL-32543 After an update in some circumstances the field size of mdl_log.action is smaller than log_display.action
- Closed
- is duplicated by
-
MDL-43644 Mobile Web Service 'Could not insert a new entry to the Moodle log'
- Closed
- will be (partly) resolved by
-
MDL-39984 Insert into log failed - action field to small for error code
- Closed
- will help resolve
-
MDL-36670 Web service function names longer than 40 characters cause log errors
- Closed