Drupal\Core\Entity\EntityStorageException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'referers_value' at row 1: INSERT INTO {broken_link__referers}

Created on 14 September 2020, over 4 years ago
Updated 20 January 2023, about 2 years ago

If the referer value length is greater than 255 characters, The following error occurs

Drupal\Core\Entity\EntityStorageException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'referers_value' at row 1: INSERT INTO {broken_link__referers} (entity_id, revision_id, bundle, delta, langcode, referers_value)

I checked the base field definition of the referer field and the length in constraint is not working.

🐛 Bug report
Status

Fixed

Version

3.1

Component

Code

Created by

🇵🇰Pakistan hmdnawaz

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024