Cannot import at the same time a new SearchApiEndpoint and Search entities

Created on 6 June 2023, over 1 year ago

Problem/Motivation

We have a config export of

  1. search_api_decoupled.search_api_endpoint.content.yml
  2. search_api_autocomplete.search.content.yml

where the search_api_autocomplete.search.content dependent on search_api_decoupled.search_api_endpoint.content and even though they get imported in the correct order the import breaks with

[notice] Finalizing configuration synchronization.
   [error]  Drupal\Core\Config\ConfigException: Errors occurred during import in Drush\Drupal\Commands\config\ConfigImportCommands->doImport() (line 346 of /va
  r/www/html/vendor/drush/drush/src/Drupal/Commands/config/ConfigImportCommands.php).

  In ConfigImportCommands.php line 360:


    The import failed due to the following reasons:

    Unexpected error during import with operation create for search_api_autocomplete.search.content: Unknown search plugin with ID "search_api_endpoint:content"

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany hchonov πŸ‡ͺπŸ‡ΊπŸ‡©πŸ‡ͺπŸ‡§πŸ‡¬

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024