Config imports of facets leads to fatal errors

Created on 20 October 2023, 8 months ago
Updated 26 June 2024, 1 day ago

When performing a config import of facets that target Search API fields which are new and part of the import, the import runs into exceptions like

Drupal\Core\Config\ConfigException: Errors occurred during import in Drush\Drupal\Commands\config\ConfigImportCommands->doImport() (line 310 of /var/www/ht  
  ml/vendor/drush/drush/src/Drupal/Commands/config/ConfigImportCommands.php).                                                                                            
                                                                                                                                                                         
  In ConfigImportCommands.php line 324:                                                                                                                                  
                                                                                                                                                                         
                                                                                                                                                                         
    The import failed due to the following reasons:                                                                                                                      
                                                                                                                                                                         
    Unexpected error during import with operation create for facets.facet.XYZ: No available query types were found for facet XYZ
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany mkalkbrenner 🇩🇪

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024