I recently uninstalled a module which provided a CCK field. Now when I try to manage fields for content types that contained this field, I get a warning and a message at the top of the page saying that this content type has inactive fields, etc, etc... I would like to simply delete these inactive fields along with any data they contained. Is there any way to do this without having to reinstall the offending module?

Comments

yched’s picture

Not currently, you need to reinstall the module :-(

danepowell’s picture

Category: support » feature

In that case, may I change this to a feature request? :)

danepowell’s picture

If I were to implement this, is there anything that needs to be done besides just deleting the references to the offending field from content_node_field and content_node_field_instance?

yched’s picture

The thing is if the field type module is absent, we don't know what the field 'columns' are, and thus cannot easily cleanup the per-content-type data tables.

More generally, Karen nor I have the time to take care of such changes in CCK D6 :-(

danepowell’s picture

Status: Active » Closed (won't fix)

I understand - I guess there's not much you can do in that case. Between potentially screwing up data consistency and simply reinstalling the offending module, the better choice is pretty clear :)