D10.2 Errors in the add/edit form

Created on 15 April 2024, over 1 year ago

Due to the fact that in D10.2 storageSettingsForm and fieldSettingsForm are on the same page, the add/edit form does not work correctly.
When an entity type changes, validation is triggered (see \Drupal\field_ui\Form\FieldConfigEditForm::validateForm) during which buildEntity is called which in turn calls \Drupal\Core\Entity\EntityForm::copyFormValuesToEntity.
As a result, after validation in targetTypeFieldSettingsForm we receive $field_settings only for filled $target_type.

๐Ÿ› Bug report
Status

Active

Version

3.2

Component

Code

Created by

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