Lack of description in the TaxNumberItem field causes TypeError

Created on 17 December 2023, over 1 year ago
Updated 31 December 2023, over 1 year ago

Describe your bug or feature request.

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
/web/core/lib/Drupal/Core/Field/FieldTypeCategory.php).

Version?

drupal/commerce 2.36.0 Drupal Commerce is a flexible eCommerce solution.

Install drupal/commerce. Try to add a field to a custom block. Drupal fails to load.

Fix is to set the description

* description = @Translation("Store the tax number."),

🐛 Bug report
Status

Closed: duplicate

Version

3.0

Component

Tax

Created by

🇦🇺Australia interlated

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024