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.
Let's say that you create two new features, one name foo that contains a field, and another named bar that contains a view that displays that field. Bar explicitly depends on foo. If you run features-import-all, it will fail with a cryptic exception, because it tries to import features in alphabetical order, leading it to try to import bar before foo.
features-import-all needs to build a dependency tree and make sure to import each feature in an order that ensures dependencies are met.
Comments
Comment #2
dawehnerFrom my point of view
drush/features.drush.inc:573 / \drush_features_import
doesn't take into account dependencies between config, indeed.