I discovered this problem when pulling in a new feature that relied on field_collection, which was not enabled, but the tables existed.

I will post a patch soon.

CommentFileSizeAuthor
#1 1882836-uninstall-drop-tables-1.patch580 byteselvis2

Comments

elvis2’s picture

Title: When uninstalling tables are not dropped » When uninstalling field_collection, tables are not dropped
StatusFileSize
new580 bytes

Here is a patch, adding the hook_uninstall to .install.

elvis2’s picture

Status: Active » Needs review
pedrosp’s picture

Patch applied on last dev, cron forced, still no option to remove module. (Fields pending deletion message )

jmuzz’s picture

Issue summary: View changes
Status: Needs review » Closed (works as designed)

I tested this earlier for #1616898: No hook_uninstall function. This may not have been true when this issue was opened, but the uninstall hook is not necessary, the tables will be deleted.