Problem/Motivation

Going to add a field to a content type with a DOI field produces the following error:

TypeError: Drupal\Core\Field\FieldTypeCategory::getDescription(): Return value must be of type Drupal\Core\StringTranslation\TranslatableMarkup, string returned in Drupal\Core\Field\FieldTypeCategory->getDescription()

This appears to be because there is no description in the annotation of DoiFieldItem.

See https://www.drupal.org/project/drupal/issues/3409413

Issue fork doi_field-3413213

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Leo Pitt created an issue. See original summary.

kallado’s picture

Ok i'll take a look at that. Kind of busy this next 2 weeks is this on drupal 10.2?

kallado’s picture

Assigned: Unassigned » kallado
kallado’s picture

@Leo Pitt thanks for the patch, merged and new release coming soon.

kallado’s picture

@Leo Pitt fixe in version 1.0.2

kallado’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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