Closed (fixed)
Project:
Commerce Product Review
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Mar 2026 at 09:33 UTC
Updated:
18 Mar 2026 at 09:45 UTC
Jump to comment: Most recent
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
Comment #4
agoradesign commented