Needs review
Project:
Coveo
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2025 at 13:59 UTC
Updated:
14 Aug 2026 at 20:58 UTC
Jump to comment: Most recent
1. configure one or more search components
2. export config
3. try to import that config elsewhere
The config import is partially successful, but then fails with an error like this:
[notice] Synchronized configuration: create coveo.search_component.content.
[notice] Synchronized configuration: create coveo.search_component.standalone.
[warning] Undefined array key 1 ConfigManager.php:513
[warning] Undefined array key 2 ConfigManager.php:513
In EntityTypeManager.php line 142:
The "coveo.search_component.content" entity type does not exist.
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
malcomio commentedThis seems to be specific to block config based on search components - the actual components are imported correctly.
Inside
\Drupal\Component\Plugin\Discovery\DiscoveryTrait::doGetDefinitionI can see that a definition has been registered ascoveo_search_component, but the value of$plugin_iddoes not match - e.g. in my case it iscoveo.search_component.contentComment #3
malcomio commentedIf I manually edit the exported config to remove the content dependency, this error does not occur.
Comment #4
neclimdulSorry, I missed you report. There's some quirky things going on with config but this is very odd. Also this exactly how we deploy these so wouldn't have expected it to break like this.
>If I manually edit the exported config to remove the content dependency, this error does not occur.
Hm... this sounds like a really good clue but just clicking around I wasn't able to recreate getting that dependency added and the config entity for components only adds a relationship to the referenced organization.
Looking at ConfigEntityBase the only thing I can think of is there's a third party module adding a dependency but I don't have any idea what that would be.
Comment #5
neclimdulIf you want to look into what's triggering that third party dependency or maybe narrow down a site module that could trigger it or even give a list of modules that would help narrow down what's causing this.
Comment #8
becw commentedThe patch from @raywalters seems to have found the cause of the issue. I was able to manually edit my existing config, and apply the patch to prevent future recurrances.