Configuration schema only allows a maximum of 128 characters for title_help

Created on 1 March 2021, over 3 years ago
Updated 29 June 2023, over 1 year ago

Problem/Motivation

In https://www.drupal.org/project/node_title_help_text/issues/3003863 it was decided to use 'label' as config type for the text value of the node title help text to make the field translatable. This however has an extra limitation of a max length of 128 characters which is only checked when trying to save a translation of a content type.

Steps to reproduce

1. Configure a node title help text of more then 128 characters on. (No error is shown)
2. Try to translate this content type (You don't even need to change the title help text)
3. On save an error will be shown that your help text exceeds the 128 character limit.

Proposed resolution

As node title help text is using a textarea I think an easy solution would be to change the configuration schema into a text type instead of a label type. This allows to store long textual values and translate those.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium kevinvb

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