Problem/Motivation
FieldConfigStorageBase::mapToStorageRecord() calls $class::fieldSettingsFromConfigData() instead of $class::fieldSettingsToConfigData() :/
Proposed resolution
Fix it.
Remaining tasks
Write some tests.
User interface changes
Nope.
API changes
Nope.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2437785-3.patch | 6.88 KB | amateescu |
| #3 | 2437785-3-test-only.patch | 6.16 KB | amateescu |
| #1 | 2437785.patch | 744 bytes | amateescu |
Comments
Comment #1
amateescu commentedThis is the fix.
Comment #2
berdirHow is this not exploding for list field types?
Comment #3
amateescu commentedBecause
ListItemBaseimplements onlystorageSettingsToConfigData()andstorageSettingsFromConfigData()and this bug is forfieldSettingsToConfigData()/fieldSettingsFromConfigData():)Wrote some tests for all of them.
Comment #5
yched commentedYay - we already had another issue to fix that wrong call, but it was still "needs tests". Will mark it as duplicate if I can dig it back :-)
Comment #6
amateescu commentedThis is the issue: #2343483: Doc cleanup after FieldConfig
Comment #7
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 74f9435 and pushed to 8.0.x. Thanks!
Comment #9
yched commented@amateescu : thanks :-) Reuploaded the patch over there, it's now just a minor doc fix.