You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm uninstalling this module and its dependencies by importing config to the state from before I enabled it. This is because I'm figuring out this bug: https://www.drupal.org/project/search_api/issues/3151796 -- this may be relevant, as the crash from that might mean my site is in an unstable state!
The config import crashes with:
The "" plugin does not exist. Valid plugin IDs for Drupal\search_api\DataType\DataTypePluginManager are: text, string, integer, decimal, date, boolean, rpt, location
Backtrace shows that this happens when search_api_location module is being uninstalled and config that depends on it is being saved in ConfigManager::uninstall():
The search_api_index entity localgov_directories_index_default is being saved when the crash happens.
FieldsProcessorPluginBase is trying to get the type of the field localgov_location:
// If the "all supported fields" option is checked, we need to reset the
// fields array and fill it with all fields defined on the index.
if ($this->configuration['all_fields']) {
$this->configuration['fields'] = [];
foreach ($this->index->getFields() as $field_id => $field) {
if (!$field->isHidden() && $this->testType($field->getType())) {
I'm wondering if there's a missing config dependency somewhere, as I would have thought localgov_directories module would be getting uninstalled BEFORE search_api, so its config entities should be gone already.
The text was updated successfully, but these errors were encountered:
Ah. localgov_directories isn't installed. This might be the problem!
Not sure I'm quite following this one yet. Although it's quite possible, even likely, we do things that are causing access to non-existing config on uninstallation. Is there a good 'how to reproduce'?
Basically, when I first installed all the modules (IIRC it was directories AND events AND dependencies), the whole thing crashed. I then tried to revert the site to its previous state by doing a config import. It might be that the first crash during installation causes the crash during import.
I'm leaving this for now as it's a rabbithole, might return to it if I have time.
I'm uninstalling this module and its dependencies by importing config to the state from before I enabled it. This is because I'm figuring out this bug: https://www.drupal.org/project/search_api/issues/3151796 -- this may be relevant, as the crash from that might mean my site is in an unstable state!
The config import crashes with:
Backtrace shows that this happens when
search_api_location
module is being uninstalled and config that depends on it is being saved in ConfigManager::uninstall():The search_api_index entity
localgov_directories_index_default
is being saved when the crash happens.FieldsProcessorPluginBase is trying to get the type of the field localgov_location:
I'm wondering if there's a missing config dependency somewhere, as I would have thought localgov_directories module would be getting uninstalled BEFORE search_api, so its config entities should be gone already.
The text was updated successfully, but these errors were encountered: