Since I got a bit of a problem with Open Calais, I tried uninstalling the module (and all sub-modules, except the Geo thing, cause I didn't install it in the first place). I also uninstalled the RDF module, so there shouldn't be any trace of Calais anywhere.

The problem, though, is that the module doesn't clean up after itself.
1) All the vocabularies it creates, are still there. I can clean the vocabularies up manually. It just shouldn't be like that.
2) All info entered in the DB table variables still is there! In other words: it leaves useless data in a table, decreasing performance (table's a bit bigger to go through, due to dead data). It also doesn't allow users to do a clean re-install of the module if that's ever necessary.

Can the module please clean up after itself?

Comments

Raf’s picture

Just found another thing that should be cleaned up.

There's still the following table in the DB as well:
rdf_data_calais_node

Starminder’s picture

Add to this:

Fatal error: Call to undefined function taxonomy_del_vocabulary() in /home/hoslot5/public_html/sites/all/modules/opencalais/calais.install on line 549

After upgrading to D7, wanted calais to clean up taxonomy since I am having issues there.

Starminder’s picture

Priority: Major » Critical

This is pure evil. The blog content type has entirely too many calais related fields. Cleaning up taxonomy and content types is ridiculous. This module should clean up after itself.

jstreifel’s picture

agreed! I am going through and deleting the vocabularies created by Calais one by one. What a pain!

jaykainthola’s picture

Agreed. It should be automatically deleted all the information related opencalais when we uninstall the module.

jec006’s picture

Hi Guys,

There is the option for OpenCalais to delete everything. It is available in the OC settings page and entitled 'Remove all OpenCalais fields when OpenCalais is uninstalled [WARNING]'.

If this is checked when the module is uninstalled, all fields and vocabularies will be removed (or should be at least). The variables should be deleted automatically regardless.

The reason this is a setting is because some people may want to stop using OpenCalais but not lose the tags that it generated in the past. We could possibly default it to on, but it seemed to me to be better to default to safe (no data loss) mode.

Hope that helps

jec006’s picture

Sorry, my comment was for the 7.x-1.x version, I see this is against the 6.x version.

jaykainthola’s picture

@Jec006 Thanks for your comment. I also checked after your comment that this is for 6.x not for 7.x version.