- Issue created by @joachim
- Status changed to Fixed
over 1 year ago 8:56pm 9 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.
As seen in 🐛 Responses to ->getSetting() ignore requested setting string, static return value. Fixed , all sorts of things can call a field to get its settings.
In ComputedFieldBase::getFieldDefinitionSetting() we currently return NULL for everything. This can cause problems if calling code expects, say, a string or an array.
We should use use $field_type_manager->getDefaultFieldSettings() to return sane defaults.
Fixed
4.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.