Day 2 begins! Day 1 notes here
https://technonaturalist.net/blog/2011/01/drupal-7-notes-dealing-ghost-fields
https://technonaturalist.net/comment/reply/43/1223 -- Comment from Jen Lampton Nov 2013 Running cron once doesn’t always do the trick. If it doesn’t work the first time, you may need to run cron 10 or 20 times to get the fields to actually be deleted. Its faster to just manually delete the two tables (field_data and field_revision) as well as the two records from field_instance and field_instance_config. Still not resolved as of the latest version of D7.
https://drupal.org/comment/5865292#comment-5865292
- Delete the records from field_config / field_config_instance
Ok that game is not fun. Let's look into why this data is fucked in field_partners.
For node 43:
493 2111 field_partners 0 6c038f33-cf4c-41bf-bd9f-1050f766bef1
OK. Weird.
Let's try to save a new node without filling in the Partners FC, because last I remember it'd create a crazy value there.
Right. new node, 589.
There's a value in field_partners for it.
There is not a value in say field_faq. So that's what's fucking this up.
Let's attempt this next. Manually truncate the field_deleted tables, and then attempt to get rid of this evil field_partners field. I suppose this begs the question of the best way to delete a field captured in features.
I think what was happening yesterday is that i'd do a drush -y fra, and it wouldn't be able to delete the field_partners because it's already been deleted. Actually let's test that, we found this interesting function _field_sql_storage_tablename