diff --git a/mozilla/webtools/testopia/Bugzilla/Testopia/TestCase.pm b/mozilla/webtools/testopia/Bugzilla/Testopia/TestCase.pm index 4d2dd19709b..ca3657a56b1 100644 --- a/mozilla/webtools/testopia/Bugzilla/Testopia/TestCase.pm +++ b/mozilla/webtools/testopia/Bugzilla/Testopia/TestCase.pm @@ -823,6 +823,7 @@ sub attach_bug { my $self = shift; my ($bugids, $caserun_id) = @_; my $dbh = Bugzilla->dbh; + trick_taint($caserun_id); $bugids = $self->_check_bugs($bugids, "ATTACH"); diff --git a/mozilla/webtools/testopia/template/en/default/testopia/reports/completion.html.tmpl b/mozilla/webtools/testopia/template/en/default/testopia/reports/completion.html.tmpl index 24ebd1703b1..42b75780406 100644 --- a/mozilla/webtools/testopia/template/en/default/testopia/reports/completion.html.tmpl +++ b/mozilla/webtools/testopia/template/en/default/testopia/reports/completion.html.tmpl @@ -71,12 +71,12 @@ - - - - - - + + + + + +
Total:[% total FILTER none %]
Completed:[% completed FILTER none %][% percent_completed || 0 FILTER none %]%
IDLE:[% idle FILTER none %][% percent_idle || 0 FILTER none %]%
PASSED:[% passed FILTER none %][% percent_passed || 0 FILTER none %]%
FAILED:[% failed FILTER none %][% percent_failed || 0 FILTER none %]%
BLOCKED:[% blocked FILTER none %][% percent_blocked || 0 FILTER none %]%
Total:[% total FILTER none %]
Completed:[% completed FILTER none %][% percent_completed || 0 FILTER none %]%
IDLE:[% idle FILTER none %][% percent_idle || 0 FILTER none %]%
PASSED:[% passed FILTER none %][% percent_passed || 0 FILTER none %]%
FAILED:[% failed FILTER none %][% percent_failed || 0 FILTER none %]%
BLOCKED:[% blocked FILTER none %][% percent_blocked || 0 FILTER none %]%
diff --git a/mozilla/webtools/testopia/testopia/js/caserun.js b/mozilla/webtools/testopia/testopia/js/caserun.js index 887e47027e3..dff624c2a71 100755 --- a/mozilla/webtools/testopia/testopia/js/caserun.js +++ b/mozilla/webtools/testopia/testopia/js/caserun.js @@ -144,7 +144,7 @@ CaseRunListGrid = function(params, cfg){ this.params = params; this.store = new Ext.data.GroupingStore({ url: 'tr_list_caseruns.cgi', - baseParams: {ctype: 'json', isactive:1}, + baseParams: {ctype: 'json'}, reader: new Ext.data.JsonReader({ totalProperty: 'totalResultsAvailable', root: 'Result',