FieldTypeUninstallValidator's error message needs to include the entity type and bundle of the default value field

Created on 4 October 2024, about 1 month ago

Overview

Found in 📌 Expand test coverage in FieldUninstallValidatorTest Needs work

In FieldTypeUninstallValidatorTest we can see FieldTypeUninstallValidator produces the error
'Provides a field type, <em class="placeholder">link</em>, that is in use in the default value of the following fields: <em class="placeholder">field_xb_test</em>',
But the field name is not enough information. The same field name can be used in different entity types and the default values are stored on the field config for bundle

Proposed resolution

Include the entity type and bundle in the error message

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

🇺🇸United States tedbow Ithaca, NY, USA

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