- field_collection_item__field_CHILDCOLLECTION_X tables exist for all child field collections EXCEPT the one without the UUID
- field_collection_item__668c612c1b table exists for the child field collection under consideration (will call it field_CHILDCOLLECTION_Y). ... It has the same structure as the other tables with valid data for field instances.
- field_collection config item 'field_CHILDCOLLECTION_Y' has null uuid value.
- DELETE field_CHILDCOLLECTION_X1: OK.
- DELETE field_CHILDCOLLECTION_X2: OK.
- DELETE field_CHILDCOLLECTION_X3: OK.
- DELETE field_CHILDCOLLECTION_Y:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'main.field_collection_item__field_CHILDCOLLECTION_Y' doesn't exist: SELECT `entity_id` FROM {field_collection_item__field_CHILDCOLLECTION_Y} WHERE `bundle` = 'field_PARENTCOLLECTION_X'; Array ( ) in field_collection_field_config_predelete() (line 95 of modules/contrib/field_collection/field_collection.module).
- however, the data from the field_collection_item__668c612c1b table was deleted
- mysql: clone table field_collection_item__668c612c1b to field_collection_item__field_CHILDCOLLECTION_Y
- drupal ui: delete the field_CHILDCOLLECTION_Y field collection.
- drupal ui: delete the field_collection_item__field_CHILDCOLLECTION_Y table.