Problem/Motivation & Steps to reproduce
After installing the Entity Title Length module and update the node title length then trying to create a node with long title an exception raised after form submit caused by the admin_audit_trail table on ref_char column which in turn save the entity title with default varchar(255)
"SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'ref_char' at row 1"
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 736104448 bytes) in /app/docroot/core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php on line 41Proposed resolution
Check if the Admin Audit Trail module is enabled then on the form submit update the admin_audit_trail table schema on ref_char column with the field length value.
Remaining tasks
None
User interface changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3339364-2.patch | 805 bytes | mohammad-fayoumi |
Comments
Comment #2
mohammad-fayoumiComment #4
mohammad-fayoumiComment #5
mohammad-fayoumi