Incompatibility with Admin Audit Trail module

Created on 5 February 2023, over 1 year ago

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 41

Proposed 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

πŸ“Œ Task
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Mohammad-Fayoumi Amman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024