Hi,

The tables are not removed in DB when uninstalled. I have to reinstall since I screwed up in creating import.

Daniel

Comments

andrew_mallis’s picture

Priority: Normal » Major

to be more precise:

feeds_importer
feeds_item
feeds_log
feeds_push_subscriptions
feeds_source

all remain after uninstalling the module.

This causes problems if one attempts to re-enable feeds:

DatabaseSchemaObjectExistsException: Table <em class="placeholder">feeds_importer</em> already exists. in DatabaseSchema->createTable() (line 657 of /path/to/drupal/includes/database/schema.inc).

hook_uninstall should delete the tables.

dgtlmoon’s picture

Priority: Major » Normal

Not really a major issue

rvdtuin’s picture

I did a uninstall on localhost and feeds_importer was deleted,
when I did a uninstall on the (remote) server feeds_importer was not deleted.
The feeds_importer needed to be deleted because of this issue: drupal.org/node/1828950
It looks like the conversion of the two DB columns to one BLOB seams to have worked (although it shouldn't), no errors, but
feed_importers don't work.
I will delete these importers and add new importers, the only thing is what causes the difference in outcome of the uninstall on localhost(DAMP) and (remote)Apache server??

twistor’s picture

Status: Active » Postponed (maintainer needs more info)

No, feeds_uninstall() should not delete them. They should be deleted automatically by Drupal core.

I have never seen this issue. What database are you using? I'm guessing that something is failing when Drupal is trying to delete them.

twistor’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)