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 #1

Updated by Ivan Necas almost 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Ivan Necas
  • Target version set to 97
Actions #2

Updated by The Foreman Bot almost 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/128 added
Actions #3

Updated by Marek Hulán almost 9 years ago

  • Translation missing: en.field_release set to 109
Actions #4

Updated by Ivan Necas almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF