Actions
Bug #19509
openunable to delete a host when the plugin is uninstalled
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
when trying to delete a host, the following error is created.
PG::ForeignKeyViolation: ERROR: update or delete on table "hosts" violates foreign key constraint "targeting_hosts_host_id" on table "targeting_hosts" DETAIL: Key (id)=(44075) is still referenced from table "targeting_hosts". : DELETE FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."id" = $1
Updated by Ohad Levy over 7 years ago
this happened as i removed the plugin, adding it to the bucket of stuff to clean up when removing a plugin.
Updated by Ivan Necas over 7 years ago
- Subject changed from unable to delete a host to unable to delete a host when the plugin is uninstalled
Do you have some tracker that would identify this bucket so that we could add to the list of this kind of stuff at some point?
Actions