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.
Currently an exported Index wil list all field instances(field.field.*) as dependencies. This is wrong since that means there will be fields that might not exist in another site where the config is being imported into due to the fact that the entity bundles might be different and it would prevent the index to being imported.
Instead of field instances the config should rely only on field definitions(field.storage.*).
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #2
drunken monkeySeems to make sense, yes. We don't care at all about bundles internally (or, after #2471669: Views should show the view mode for each bundle as view modes are configured per bundle, only for view modes), so having the bundles listed as dependencies (indirectly) doesn't seem to make sense if there's a viable alternative.
Thanks for reporting!
Comment #3
drunken monkeyThis will now be fixed in #2541206: Consider field storage dependency removal on Index, it seems.