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.
As of Drupal 7.14, the field_bundle_settings was split into per-bundle variables.
commerce_delete_instances()
was loading the monolithic variable, unsetting relevant parts, and resaving it when deleting an entity type or bundle. This isn't necessary, as each individual variable can be deleted.
Comment | File | Size | Author |
---|---|---|---|
#1 | commerce-1571376-1.patch | 1.22 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettThis should work. Untested.
Comment #2
tim.plunkettMeant to file this as a bug, since that variable doesn't exist anymore.
Comment #3
bojanz CreditAttribution: bojanz commentedLooks good.
Comment #4
rszrama CreditAttribution: rszrama commentedLooks great, Tim. Nice catch!
Welcome to the committers log.