Config imports of facets leads to fatal errors

Created on 20 October 2023, about 1 year ago
Updated 10 July 2024, 4 months 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.71.5 2024