Field type annotation doesn't have a description

Created on 9 January 2024, 6 months ago
Updated 10 January 2024, 6 months ago

Problem/Motivation

After recent core update this issue arises. Field type doesn't have annotation, which causes exception:

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

Go to Configuration -> People -> Account settings -> Manage fields and add new field.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡°πŸ‡¬Kyrgyzstan elaman

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

Comments & Activities

  • Issue created by @elaman
  • First commit to issue fork.
Production build 0.69.0 2024