Closed (duplicate)
Project:
Features
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2015 at 17:43 UTC
Updated:
17 Aug 2017 at 18:44 UTC
Jump to comment: Most recent
Comments
Comment #2
kerasai commentedI'm finding that import is attempted for optional config, even if its dependencies aren't met.
I'm not sure if this is something that should be addressed by Features itself, or expected to be handled by the underlying core config management system.
Adding a small bit of code to
\Drupal\features\FeaturesManager::detectMissingto verify dependencies are available may be one option. My only concern is that the it's probably not trivial to determine which dependencies are met as optional config starts being imported.Comment #3
nedjoThe issue would need to be addressed in Config Update, where this issue is open: #2852638: RevertInterface::revert() and ::import() do not handle config dependencies.