Project

General

Profile

Actions

Bug #13313

closed

Deleting host with job invocation in past causes foreign key violaton

Added by Ivan Necas almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

PG::Error: ERROR: update or delete on table "hosts" violates foreign key constraint "template_invocations_hosts_id_fk" on table "template_invocations" DETAIL: Key (id)=(11) is still referenced from table "template_invocations". : DELETE FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."id" = $1
Actions

Also available in: Atom PDF