If I select several content types in the visibility settings for my response header settings I get the following error:
PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'types' at row 1:
The mysql column "type" has a length of 64, so we get an error when it is inserted.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | mysql_error_due_to-2496505-4.patch | 1.46 KB | leon kessler |
| #2 | mysql_error_due_to-2496505-1.patch | 1.46 KB | leon kessler |
Comments
Comment #1
vijaycs85Hmm,we might need to update the field length.
Comment #2
leon kessler commentedPatch attached...
Comment #3
leon kessler commentedI set them both to
"text", same as the pages db column.Comment #4
leon kessler commentedWhoops, had wrong field name in
db_change_field().call ("type" instead of "types").