Problem/Motivation

Just found out, that the OverallRatingItem field type broke the field UI on a Drupal 11 site, because the "category" is defined as translatable string, but needs to be a plain one:

TypeError: Cannot access offset of type Drupal\Core\StringTranslation\TranslatableMarkup in isset or empty in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (Zeile 45 in /app/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

On fixing that, we'll take the change to convert this field type from annotations to PHP attribute syntax

Comments

agoradesign created an issue. See original summary.

  • agoradesign committed 0e18d8b0 on 2.1.x
    fix: #3576941 The field type's category definition must not be...

  • agoradesign committed 0c413eee on 2.0.x
    fix: #3576941 The field type's category definition must not be...
agoradesign’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.