Creating a drowl_paragraphs_settings field, with a name of more than 20 chars will throw an error.

Created on 31 March 2022, almost 3 years ago
Updated 25 April 2024, 10 months ago

Problem/Motivation

Creating a drowl_paragraphs_settings field, and using a name that contains more than 20 characters, will throw the following error:
There was a problem creating field fffffffffffffffffffff: Exception thrown while performing a schema update. SQLSTATE[42000]: Syntax error or access violation: 1059 Identifier name 'field_fffffffffffffffffffff_style_animation_1_transition_duration' is too long

Steps to reproduce

Go to "/admin/structure/types/manage/article/fields/add-field" and create a drowl_paragraphs_settings field with a name that contains more than 20 characters.

Proposed resolution

Eventually fix this in future releases. Because this is a very niche bug, we could also leave it like this, since there will be quite a few update hooks needed to change this, or we could use a hook to let the user only type in a maximum of 20 letters.

🐛 Bug report
Status

Postponed

Version

4.0

Component

Code

Created by

🇩🇪Germany Grevil

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.

  • 🇩🇪Germany Anybody Porta Westfalica

    I don't think this is worth fixing any more with drowl_paragraphs_bs but let's keep this postponed for visibility reasons, if we should run into this again.

Production build 0.71.5 2024