Problem/Motivation

There was 1 error:
1) Drupal\Tests\ad_content_js\Functional\AdContentJsGenericTest::testModuleGenericIssues
Drupal\Core\Config\PreExistingConfigException: Configuration objects (ad_content.ad_content_type.javascript_ad, core.entity_form_display.ad_content.javascript_ad.default, core.entity_view_display.ad_content.javascript_ad.admin, core.entity_view_display.ad_content.javascript_ad.default, field.field.ad_content.javascript_ad.field_javascript, field.storage.ad_content.field_javascript) provided by ad_content_js already exist in active configuration
/builds/project/ad/web/core/lib/Drupal/Core/Config/PreExistingConfigException.php:65
/builds/project/ad/web/core/lib/Drupal/Core/Config/ConfigInstaller.php:593
/builds/project/ad/web/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php:132
/builds/project/ad/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php:209
/builds/project/ad/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php:83
/builds/project/ad/web/core/modules/system/tests/src/Functional/Module/GenericModuleTestBase.php:59
ERRORS!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork ad-3541122

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

anybody’s picture

anybody’s picture

Status: Active » Needs review

Let's see if this fixes the issue maybe...

anybody’s picture

@Grevil found it!

It was a part of the generic test that tests the uninstall and then reinstall. As the configs don't have an enforced dependency on ad_content_js module, the configs were never removed so on re-install the problem occurred!

See the MR for a fix!

anybody’s picture

Title: Fix broken tests: Config objects already exist » Fix broken tests: Config objects already exist in active configuration

anybody credited grevil.

anybody’s picture

anybody’s picture

Status: Needs review » Fixed

Works!!

Status: Fixed » Closed (fixed)

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

anybody’s picture

@grevil: GREAT! I set this fixed, but didn't merge ... -.-