mysql - Upgrading to Bugzilla 5.0 -


while setting bugzilla 5.0, running ./checksetup.pl ran beauty:

removing existing compiled templates... precompiling templates...done. fixing file permissions... adding foreign key: test_case_components.component_id -> components.id... dbd::mysql::db failed: cannot add foreign key constraint [for statement "alter table test_case_components add   constraint fk_test_case_components_component_id_components_id foreign key (component_id)  references components(id)   on update cascade on delete cascade"] @ bugzilla/db.pm line 642. bugzilla::db::bz_add_fks(bugzilla::db::mysql=hash(0x6c66e10), "test_case_components", hash(0x61a5f30), hash(0xa283c48)) called @ bugzilla/db.pm line 546 bugzilla::db::bz_setup_foreign_keys(bugzilla::db::mysql=hash(0x6c66e10)) called @ bugzilla/install/db.pm line 745 bugzilla::install::db::update_table_definitions(hash(0x1522580)) called @ ./checksetup.pl line 172 

is due database setup? has else ran this? if have patch worked you?

see https://bugzilla.mozilla.org/show_bug.cgi?id=923865 (which internet search engine should bring up).


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -