Error when managing fields in Drupal 10.2 with Coloris installed

Created on 27 December 2023, 6 months ago

Problem/Motivation

While editing a block and going to create a new field, or editing an existing Coloris field, an error is thrown:

TypeError: Drupal\Core\Field\FieldTypeCategory::getDescription(): Return value must be of type Drupal\Core\StringTranslation\TranslatableMarkup, string returned in Drupal\Core\Field\FieldTypeCategory->getDescription() (line 26 of core/lib/Drupal/Core/Field/FieldTypeCategory.php).

Steps to reproduce

  1. Install Coloris 1.0.2
  2. Enable Coloris module
  3. Manage fields of a block type (e.g. "Basic Block")
  4. Click "Create a new Field" button

Proposed resolution

Add a description to the FieldType and FieldWidget annotations.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇺🇸United States bapXIV

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024