Closed (works as designed)
Project:
Relation
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2012 at 10:22 UTC
Updated:
5 Nov 2014 at 10:44 UTC
Jump to comment: Most recent
Comments
Comment #1
mikran commentedRelation Dummy Field has dependency to Relation only. Try running cron after disabling dummy field and you should be able to uninstall it afterwards.
Comment #2
3magnus commentedSame here. I had three relation types and only one field using the Relation module.
After I've given up on using relations I deleted the field and tried to disable and uninstall Relations module. Everything was going right until the Relation Endpoints Field module (as @lancee), wich is locked for disabling and there no other Relation module left to disable!
So I re-enabled both Relation and Relation UI and manually deleted every single relation created. Then I re-disabled both of them and ran cron.
Finally, here I am. Stuck with the lock-for-disabling Relation Endpoints Field module and asking for support.
As I'm just working on a test site, this little bug (pretty normal for a fresh module) won't cause me any trouble. I'm just reporting to help you guys.
Great project, by the way!
Comment #3
blackclover commentedNeed to uninstall Relation Endpoints Field but it's locked. Uninstalled all the relate modules then deleted a field used as an endpoint and now I get an error on that content type.
Notice: Undefined index: entity_from_field:field_crm_org_primary_contact-node-node in ctools_entity_from_field_get_child() (line 24 of /home/edelib/public_html/sites/all/modules/ctools/plugins/relationships/entity_from_field.inc).
Comment #4
blackclover commentedSorry wrong error message. But still want to uninstall it. thanks
Comment #5
Taxoman commentedJust for clarity:
Can anyone describe a method that currently works (order of doing things), so that we can be sure that as long as we do not mess this up by taking the steps in the wrong order, it is indeed possible to uninstall this module? If it is actually impossible, then that is important and deserves a warning on the module page.
(I am considering to start testing this module, but reluctant until I know I can expect to be able to uninstall it...)
Comment #6
naught101 commentedThere are no looped dependencies. The uninstallation procedure is a little involved, but relatively simple:
Unfortunately, there is no way to make this easier, because of the two-step uninstallation of drupal modules. We could delete all relation types when we disable relation, but then that wouldn't be disabling, because disabling a module isn't supposed to remove data. We would like to delete all relation types when we uninstall relation, but at that stage, the relation code is not available, so we can't really do anything. Catch 22.
Comment #7
frederickjhFor anyone finding this the instructions above did not work for me to uninstall version 7.x-1.0-rc5. I had to run cron after uninstalling the Relation module. So the steps would look like this.
Not sure if the first cron run is needed, but these are the steps I followed to uninstall it.
I hope this helps someone!