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.
ds_extras_entity_base_field_info() doesn't seem to be triggered anymore - boy this will be fun to figure out.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2560631.patch | 17.44 KB | swentel |
Comments
Comment #2
aspilicious CreditAttribution: aspilicious commentedbecause automatic entity schema updates are turned off in update.php. I think we need to trigger a schema rebuild when enabling thw feature for thw first time.
There ahould be a change record for that.
Comment #3
swentel CreditAttribution: swentel commentedOoh, that's why I saw nothing in update.php - funky - will search for the change record.
Comment #4
swentel CreditAttribution: swentel commentedMoved to another module - also available in switch_view_mode branch.
Some overlap with #2588835: Reinstall ds_extra's fails regarding the setting.
Comment #5
swentel CreditAttribution: swentel commentedNote: didn't do our own storage - install works fine and adds the field, so I think we should be fine.
Maybe we should write a 'remove all data' thing, but let's wait how core will handle this in general.
Comment #6
aspilicious CreditAttribution: aspilicious commentedYeah if you just follow the "insert column on install" pattern, everything works fine.
The thing is that once you installed and enabled the module you can't uninstall it :p, because of datalose issues.
So this module probably will have some feature requests in the future for temporary disabling some features.
Is not needed anymore
I'm not sure this todo is needed either
We probably need a notice that people that have the setting already enabled should install the module. Or write an upgrade path that does that.
Once that is done I would commit this and let the tests run again.
Comment #8
aspilicious CreditAttribution: aspilicious commentedStill working on the tests
Comment #10
aspilicious CreditAttribution: aspilicious commented