Announcement

Collapse
No announcement yet.

DB Error when editing Contacts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DB Error when editing Contacts

    DB Error : INSERT INTO contact_hostcommands_relation (contact_contact_id, command_command_id) VALUES ('2', '') [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`oreon/contact_hostcommands_relation`, CONSTRAINT `contact_hostcommands_relation_ibfk_2` FOREIGN KEY (`command_command_id`) REFERENCES `command` (`command_id`) ON DELETE CASCADE)]
    DB Error : INSERT INTO contact_servicecommands_relation (contact_contact_id, command_command_id) VALUES ('2', '') [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`oreon/contact_servicecommands_relation`, CONSTRAINT `contact_servicecommands_relation_ibfk_2` FOREIGN KEY (`command_command_id`) REFERENCES `command` (`command_id`) ON DELETE CASCADE)]

    It doesn't appear to have affected anything, the updates still went through. Any ideas why it threw this out?
Working...
X