Incompatibility with Admin Audit Trail module

Created on 5 February 2023, almost 2 years 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.71.5 2024