From 2d57ca9161371bef0259803efb2b2fceb4f9a934 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Mon, 24 May 2010 15:55:40 -0700 Subject: Bug 567303: Implement a working algorithm for sorting fields based on VALIDATOR_DEPENDENCIES in Bugzilla::Object. (The previous code did not actually sort fields correctly.) r=timello, a=mkanat --- template/en/default/global/code-error.html.tmpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'template') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 74365a80f..f36199bef 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -353,6 +353,11 @@ You cannot set the resolution of [% terms.abug %] to [% display_value("resolution", "MOVED") FILTER html %] without moving the [% terms.bug %]. + [% ELSIF error == "object_dep_sort_loop" %] + There is a loop in VALIDATOR_DEPENDENCIES involving + '[%+ field FILTER html %]'. Here are the fields we considered: + [%+ considered.join(', ') FILTER html %]. + [% ELSIF error == "param_invalid" %] [% title = "Invalid Parameter" %] [% param FILTER html %] is not a valid parameter -- cgit v1.2.3-24-g4f1b