From 46c89016520cf272223cba52e704388fa94b4392 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 24 Oct 2005 04:47:50 +0000 Subject: Bug 312307: Misused Throw*Error tags in code and templates - Patch by Dennis Melentyev r=LpSolit a=justdave --- template/en/default/global/code-error.html.tmpl | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'template/en/default/global/code-error.html.tmpl') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 796e1e4b2..534938ff7 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -154,11 +154,6 @@ [%+ terms.bug %] [%+ bug_id FILTER html %]. [% END %] - [% ELSIF error == "invalid_isactive_flag" %] - [% title = "Invalid isactive flag" %] - The active flag was improperly set. There may be - a problem with [% terms.Bugzilla %] or [% terms.abug %] in your browser. - [% ELSIF error == "invalid_numeric_argument" %] [% title = "Invalid number argument" %] The argument [% argument FILTER html %] = [% value FILTER html %] @@ -245,13 +240,12 @@ [%+ series.subcategory FILTER html %] / [%+ series.name FILTER html %]. - [% ELSIF error == "no_y_axis_defined" %] - No Y axis was defined when creating report. The X axis is optional, - but the Y axis is compulsory. - [% ELSIF error == "need_quipid" %] A valid quipid is needed. + [% ELSIF error == "unknown_comparison_type" %] + Specified comparison type is not supported. + [% ELSIF error == "request_queue_group_invalid" %] The group field [% group FILTER html %] is invalid. @@ -298,6 +292,10 @@ I could not figure out what you wanted to do. [% END %] + [% ELSIF error == "must_be_patch" %] + [% title = "Attachment Must Be Patch" %] + Attachment #[% attach_id FILTER html %] must be a patch. + [% ELSIF error == "nested_transaction" %] Attempted to start a new transaction without finishing previous one first. -- cgit v1.2.3-24-g4f1b