I created a new content type with two custom fields. Created one entry of this type. Then attempted to delete one of the fields, and got the following error message:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'honyaku7.field_data_' doesn't exist: UPDATE {field_data_} SET deleted=:db_update_placeholder_0 WHERE (bundle = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => 1 [:db_condition_placeholder_0] => ) in field_sql_storage_field_storage_delete_instance() (line 618 of /home/adamrice/8stars.org/h7/modules/field/modules/field_sql_storage/field_sql_storage.module).
The field no longer appears in the list of existing fields, but attempting to create a new field of the same name results in an error complaining that the field already exists.
Comments
Comment #1
sivaji_ganesh_jojodae commentedLooks like this is fixed. Now it works like a charm for me.
Comment #2
mgiffordagreed. added a custom field type and then deleted it. No errors were displayed.
Comment #3
agentrickardSeeing this behavior again. Looks like the field instance records are never actually deleted, just marked as such.
Comment #4
catchiirc this is by design - deleted field records are purged in batches so it's likely the instance itself sticks around until that happens, leaving critical though, I think bjaspan is most familiar with this.
Comment #5
agentrickardJohnAlbin tells me this was corrected (again) after alpha3, and he could not replicate on HEAD.