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.
How to reproduce
- Install Drupal with
Standard
profile. - Remove all content types.
- Export configuration.
- Import configuration.
- Create new content type ("test", for example).
- Add some fields to the new content type.
- Export configuration.
You'll see field.field.node.page.body.yml
which will break next configuration import. Import of configuration works great after deleting this redundant file.
Comments
Comment #2
mtiftI cannot reproduce this issue. If you delete all content types and create a new content type called "test" then you would no longer export field.field.node.page.body.yml. @danylevskyi are you using the export tool at admin/config/development/configuration/full/export to export your config? Or drush?
Comment #3
BerdirYeah, I don't see how this could happen except when you manually update folders and don't delete all old files.