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
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
Comment #2
anybodyWe've had a similar issue in the past, maybe we can learn:
#3493355: Configuration objects (cookies.cookies_service.analytics) provided by posthog_cookies already exist in active configuration
Comment #4
anybodyLet's see if this fixes the issue maybe...
Comment #5
anybody@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_jsmodule, the configs were never removed so on re-install the problem occurred!See the MR for a fix!
Comment #6
anybodyComment #8
anybodyComment #9
anybodyWorks!!
Comment #11
anybody@grevil: GREAT! I set this fixed, but didn't merge ... -.-