Closed (fixed)
Project:
Drupal core
Version:
8.3.x-dev
Component:
configuration system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 May 2017 at 08:11 UTC
Updated:
26 Oct 2019 at 20:44 UTC
Jump to comment: Most recent
Comments
Comment #2
zchokri commentedComment #3
mikeryanIt appears you're getting that error when importing configuration, not when running migration? What does the .yml you're importing look like?
Comment #4
zchokri commentedyes when importing configuration
Comment #5
mikeryanI'm not sure where to move this issue - it doesn't appear to have anything to do with migrate_plus (or, really, migration at all). I guess core configuration management is closest...
You're using the configuration UI to import some YAML and getting an error message that has nothing to do with the YAML you're trying to import. I'm perplexed, maybe some configuration management expert might hazard a guess...
Comment #6
TigerWhite commentedI have the same issue ...
zchokri Have you resolved it?
Comment #7
zchokri commentedYes
You must delete the the THEMENAME config, you can use drush to delete it with the command : " drush config-delete THEMENAME.settings "
Comment #9
james917 commentedI deleted THEMENAME config but I am still getting the same errors
Comment #10
giorgoskYou can delete config from database if have not exported yet so it does not give you trouble later
or you can delete from export directory when importing and gives you the trouble mentioned above
I believe this happens because bootstrap has the starterkits with this particular config install for example in
themes/contrib/bootstrap/starterkits/less/config/install/THEMENAME.settings.ymlbut is this a bug of bootstrap or core ? what does this setting get into the database in the first place ?
Here is a discussion for it on bootstrap issue queue #2706711: Configuration THEMENAME.settings depends on the THEMENAME theme that will not be installed after import.
Comment #11
renus09 commentedHi,
I am also getting error while importing a view single item from dev to stage environment drupal8-
The configuration cannot be imported because it failed validation for the following reasons:
Configuration block.block.block depends on the
Theme theme that will not be installed after import.
Configuration block.block.block103 depends on the
Theme theme that will not be installed after import.
Configuration block.block.block104 depends on the
Theme theme that will not be installed after import.
Configuration block.block.block105 depends on the
Theme theme that will not be installed after import.
Please suggest how to overcome this issue.
Comment #12
aquaphenixI ran into a similar issue as described on #11,
Configuration block "block.block.views_block__featured_content_featured_content_block" depends on the theme that will not be installed after import. Looking at the block.block.views_block__featured_content_featured_content_block.yml file the theme value is set to null. For some reason the value was not set correctly, updated to the correct installed theme and running again drush cim fix the issue for me.
Comment #13
lukusI'm experiencing the same problem.