Closed Bug 1184646 Opened 10 years ago Closed 10 years ago

Update Testopia Page

Categories

(Testopia :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ben.vandermerwe, Assigned: gregaryh)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36 Steps to reproduce: LPSpolit, can you please update this page? https://developer.mozilla.org/en-US/docs/Mozilla/Bugzilla/Testopia#Links Actual results: It does not say anything about bugzilla 4.x or 5.0. You have to Google but can only find snippets here and there. We have actually bee using it and testing it. Expected results: Add this: - Testopia can be used with Bugzilla 4.x but you may need to do apply the following changes: If the web browser gives an error around this file, edit bugzilla\tr_process_case.cgi and around line 221 add some brackets as follows: --- foreach my $field qw(action effect) { +++ foreach my $field (qw(action effect)) { If the Components drop down is no longer working in Testopia, edit tr_quicksearch.cgi and around line 455 put a hash (#) in front of these three lines and add the extra closing }, as shown here, then it will work fine again: my @comps; foreach my $c (@{$product->components}){ # if (defined $c->default_qa_contact) { { if ($cgi->param('query')){ push @comps, { 'id' => $c->id, 'name' => $c->name, # 'qa_contact' => $c->default_qa_contact->login, 'product' => $c->product->name, } if ($c->name =~ m/$q/i); } else { push @comps, { 'id' => $c->id, 'name' => $c->name, # 'qa_contact' => $c->default_qa_contact->login, 'product' => $c->product->name, }; }} } - Testopia can be used with Bugzilla 5.0 (we just tested it) but you also need to do the following: Checksetup.pl may fail with foreign keys. Using Heidi SQL for example, in the bugs database, go to test_case_components, and change component_id column type from tiny int to MEDIMUMINT. Now run checksetup.pl again and it will succeed. With these three code changes, it is working fine for us with Bugzilla 5.0 (using Apache 2.2 64 bit, ActiveState Perl 5.20, Windows Server, MariaDB 10)
All the fixes you mention are already in Testopia 2.6. I will update that page when 2.6 is released.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.