Project

General

Profile

Actions

Bug #3071

closed

OS edit integration test failure with foreign keys

Added by Dominic Cleal about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The OS edit integration test is failing since merging the FK support:
http://ci.theforeman.org/job/test_develop_integration/5/

Mysql2::Error: Cannot add or update a child row: a foreign key constraint fails (`test_develop_integration-3-test`.`os_default_templates`, CONSTRAINT `os_default_templates_config_template_id_fk` FOREIGN KEY (`config_template_id`) REFERENCES `config_templates` (`id`)): UPDATE `os_default_templates` SET `config_template_id` = 0, `updated_at` = '2013-09-11 09:54:36' WHERE `os_default_templates`.`id` = 281110143 (ActiveRecord::InvalidForeignKey)
...
/var/lib/workspace/workspace/test_develop_integration/database/mysql/ruby/1.8.7/test/integration/operatingsystem_test.rb:24:in `test_0003_edit page'

http://ci.theforeman.org/job/test_develop_integration/5/database=mysql,ruby=1.8.7/testReport/junit/%28root%29/OperatingsystemTest/test_0003_edit_page/


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #2400: Add foreign keys on database levelClosedJoseph Magen04/15/2013Actions
Actions #1

Updated by Joseph Magen about 11 years ago

  • Status changed from Assigned to Ready For Testing
Actions #2

Updated by Joseph Magen about 11 years ago

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

Updated by Lukas Zapletal about 11 years ago

  • Related to Tracker #3112: [TRACKER] Issues to be released in 1.3 RC or final added
Actions #4

Updated by Lukas Zapletal about 11 years ago

  • Related to deleted (Tracker #3112: [TRACKER] Issues to be released in 1.3 RC or final)
Actions #5

Updated by Dominic Cleal about 11 years ago

  • Related to Feature #2400: Add foreign keys on database level added
Actions

Also available in: Atom PDF