Repeatable: Always
Steps to repeat:
1. Install and enable be_ixf_drupal; rebuild caches
2. Place BrightEdge Foundation Content Block in footer region; save
3. Export configuration
4. Uninstall module
5. Import configuration

Expected Results:
Configuration can be imported.

Actual Results:

Output:
================
+------------+----------------------------------------------+-----------+
| Collection | Config | Operation |
+------------+----------------------------------------------+-----------+
| | block.block.brightedgefoundationcontentblock | Create |
| | core.extension | Update |
| | brightedge.settings | Update |
+------------+----------------------------------------------+-----------+

// Import the listed configuration changes?: yes.

Error Output:
================
[error] Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization.
Configuration brightedge.settings depends on the brightedge extensi
on that will not be installed after import. in Drupal\Core\Config\ConfigImporter->validate() (line 755 of /mnt/www/html/utccl
oud/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php).

In ConfigImportCommands.php line 261:

The import failed due to the following reasons:
Configuration brightedge.settings depends on t
he brightedge extension that will not be insta
lled after import.

Error Output:
  ================
   [error]  Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization.
   Configuration <em class="placeholder">brightedge.settings</em> depends on the <em class="placeholder">brightedge</em> 
   extension that will not be installed after import. in Drupal\Core\Config\ConfigImporter->validate() (line 755 of
   /mnt/www/html/acquiacloud/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php).

Additionally, upon saving the module configuration, /admin/config/services/brightedge:

Notice: Undefined index: capsule_mode in Drupal\be_ixf_drupal\Form\AdminForm->submitForm() (line 97 of modules/contrib/be_ixf_drupal/src/Form/AdminForm.php).
Drupal\be_ixf_drupal\Form\AdminForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 593)
Drupal\Core\Form\FormBuilder->processForm('brightedge_settings_form', Array, Object) (Line: 144)
Drupal\autosave_form\Form\AutosaveFormBuilder->processForm('brightedge_settings_form', Array, Object) (Line: 321)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 97)
Drupal\autosave_form\Form\AutosaveFormBuilder->buildForm(Object, Object) (Line: 91)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 38)
Drupal\webprofiler\StackMiddleware\WebprofilerMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Environment information:

Drupal version   : 8.9.1
Site URI         : http://local.appname.com
DB driver        : mysql
DB hostname      : localhost
DB port          : 3306
DB username      : drupal
DB name          : drupal
Database         : Connected
Drupal bootstrap : Successful
Default theme    : themag_st
Admin theme      : thunder_admin
PHP binary       : /usr/bin/php7.3
PHP config       : /etc/php/7.3/cli/php.ini
PHP OS           : Linux
Drush script     : /usr/local/bin/drush
Drush version    : 9.7.2
Drush temp       : /tmp
Drush configs    : /var/www/appname/vendor/drush/drush/drush.yml
                   /var/www/appname/drush/drush.yml
Install profile  : thunder
Drupal root      : /var/www/appname/docroot
Site path        : sites/default

Comments

utcwebdev created an issue. See original summary.

mahtab_alam’s picture

This is fixed in latest version

mahtab_alam’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.