How to reproduce:
* enable
* create message type with some fields
* disable
* uninstall

The views UI notified me that these fields are still associated with (now nonexisting) message entities.

Comments

axel.rutz created an issue. See original summary.

geek-merlin’s picture

After enabling the message module this ad-hoc-code (and an additional cron rum) cleaned my DB.

$instances = field_read_instances(array('entity_type'=>'message'), array('include_inactive' => TRUE));
foreach($instances as $instance) {
  field_delete_instance($instance);
}

Might serve as starting snippet for a patch.

bluegeek9’s picture

Status: Active » Closed (outdated)