Error 1406 - Data too long for column

Created on 4 May 2023, about 1 year ago
Updated 8 May 2023, about 1 year ago

Problem/Motivation

When creating a custom notification and the custom message, if the $message 'content' string is too long, this error occurs...
Drupal\Core\Entity\EntityStorageException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column

Since 'content' can use different tokens on output, the length of its string can vary quite a bit. Seems like having a string size limit will be problematic going forward? Any ideas on a resolution?

πŸ’¬ Support request
Status

Closed: duplicate

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States chucksimply

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

Comments & Activities

Production build 0.69.0 2024