Problem/Motivation
Hi
Whatever configuration i change anywhere locally when i try to import it with my gitlab-ci deployment it always fail and send me the below message
// Import the listed configuration changes?: yes.
[error] Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization.
Configuration <em class="placeholder">layout_builder_iframe_modal.settings</em> depends on the <em class="placeholder">layout_builder_iframe_modal</em> extension that will not be installed after import. in Drupal\Core\Config\ConfigImporter->validate() (line 794 of /home/braiezkg/varbdev/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php).
In ConfigImportCommands.php line 324:
The import failed due to the following reasons:
Configuration <em class="placeholder">layout_builder_iframe_modal.settings<
/em> depends on the <em class="placeholder">layout_builder_iframe_modal</em
> extension that will not be installed after import.
I even make sure that databases (local & prod) are the same by exporting local db to the replace the one online.Immediate drush cim on production will confirm that no changes has been made. But as soon as i change any configuration, export it and try to import online the error is back
Steps to reproduce
- on local site change any configuration
- drush cex
- Move to production site
- drush updb
- drush cim
Proposed resolution
- Remove the leftover optional
layout_builder_iframe_modal.settingsconfig if the module was uninstalled. - Install Layout Builder Modal module if it was not enabled.
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ Accessibility and Readability
- ✅ Code review from 1 Varbase core team member
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Update Release Notes and Update Helper on new feature change/addition
- ✅ Release varbase-9.0.15, varbase_layout_builder-10.0.32, Varbase 10.0.0-beta1, varbase_layout_builder-10.1.0-alpha10
Varbase update type
- ✅ No Update
- ➖ Optional Update
- ➖ Forced Update
- ➖ Forced Update if Unchanged
User interface changes
- N/A
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Issue #3383937 by delacosta456: Removed the remaining optional
layout_builder_iframe_modal.settingsconfig
Comments
Comment #2
delacosta456 commentedComment #3
delacosta456 commentedComment #4
delacosta456 commentedComment #5
rajab natshahComment #6
rajab natshahWhich version of Varbase you are using?
~9.0or~10.0#3326408: Switch from Layout Builder Modal module to Layout Builder iFrame Modal module
Then reverted the change before releasing Varbase 10.0.0-alpha1
#3353423: Switch from Layout Builder Iframe Modal to Layout Builder Modal module
Are you using the
10.0.x-devdevelopment build?Comment #7
delacosta456 commentedhi
Thanks for answering
i am using varbase-9.0.14 so ~9.0
Comment #8
delacosta456 commentedComment #9
rajab natshahThanks for reporting, and following up.
I confirm the issue
Please, use the following command as a temp to delete the config.
Removing the leftover optional layout_builder_iframe_modal.settings.yml config file.
Doing a quick fix for this issue and a Quick Fix release
Comment #10
rajab natshahComment #11
rajab natshahComment #14
rajab natshahComment #15
rajab natshahComment #16
rajab natshah✅ Released varbase_layout_builder-10.0.32
Comment #17
rajab natshah✅ Released varbase_layout_builder-10.1.0-alpha10
Comment #18
delacosta456 commentedhi
Thanks for working on it. i can confirm now that everything is ok
Comment #19
rajab natshah✅ Released varbase-9.0.15
Comment #20
rajab natshah✅ Released varbase_layout_builder-10.1.0-beta1
Comment #21
rajab natshah✅ Released Varbase 10.0.0-beta1