Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Right now, ->original ends up in the last installed field storage definitions key value store.
Proposed resolution
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#5 | 2459873-5.patch | 1.35 KB | swentel |
#2 | 2459873-2.patch | 666 bytes | borisson_ |
Comments
Comment #1
borisson_Comment #2
borisson_Unset the original key from the array.
Comment #3
borisson_Comment #4
yched CreditAttribution: yched commentedGrmble - any ConfigEntity can find itself having an 'original' property, so that would be yet another case for #1977206: Default serialization of ConfigEntities :-/
Meanwhile, for consistency at least within field config entities, can we add the same at least in FieldConfigBase::__sleep() ?
Comment #5
swentel CreditAttribution: swentel commentedComment #6
yched CreditAttribution: yched commentedThanks :-)
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 d3adcab and pushed to 8.0.x. Thanks!
I thought about requesting a test but it does not seem worth it.