Error when saving field settings after Readonly Field Widget is selected for a field.

Created on 27 August 2020, about 4 years ago
Updated 21 April 2023, over 1 year ago

Steps to reproduce

  1. Set a field to use this widget.
  2. Go to the field settings and try to mark the field as required.
  3. The following error is logged.

Error: Call to a member function uuid() on null in Drupal\Core\Field\EntityReferenceFieldItemList->defaultValuesFormSubmit() (line 126 of /var/www/html/drupal/web/core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php)

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇺Australia thtas

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024