Bug 1141374 - Database error involving Bugzilla::Product
Summary: Database error involving Bugzilla::Product
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: bugzilla
Version: 20
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Itamar Reis Peixoto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-12 20:51 UTC by dannyking20022001
Modified: 2018-04-11 16:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-17 18:50:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description dannyking20022001 2014-09-12 20:51:24 UTC
Description of problem:
I receive the database error after running ./checksetup at the very end of the install. 
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. ./checksetup
2.
3.

Actual results:
I get this database error 

DBD::mysql::db do failed: Cannot add or update a child row: a foreign key constraint fails (`bugzilla`.`products`, CONSTRAINT `fk_products_classification_id_classifications_id` FOREIGN KEY (`classification_id`) REFERENCES `classifications` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) [for Statement "INSERT INTO products (description, defaultmilestone, classification_id, name) VALUES (?,?,?,?)"] at Bugzilla/Object.pm line 556, <STDIN> line 4.
        Bugzilla::Object::insert_create_data('Bugzilla::Product', 'HASH(0x96dcb58)') called at Bugzilla/Product.pm line 95
        Bugzilla::Product::create('Bugzilla::Product', 'HASH(0x6d53e50)') called at Bugzilla/Install.pm line 260
        Bugzilla::Install::create_default_product() called at ./checksetup.pl line 231


Expected results:
A clean install

Additional info:
This is a clean yum install from fedora 20 with all perl modules the right version

Comment 1 Jason McDonald 2014-09-15 00:53:36 UTC
Reassigning to the bugzilla component of the Fedora product.  The Bugzilla product in this bug tracker is specifically for Red Hat's customized version of Bugzilla, whereas this bug relates to Fedora's packaged version of the upstream Bugzilla project.


Note You need to log in before you can comment on or make changes to this bug.