summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-25 00:55:40 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-25 00:55:40 +0200
commit2d57ca9161371bef0259803efb2b2fceb4f9a934 (patch)
treee6005376d2a89e37c3f51ee3ef0d90ddc0e0ad66 /template
parent7df590fa40af15df14183375f7fb18b7ff2e6969 (diff)
downloadbugzilla-2d57ca9161371bef0259803efb2b2fceb4f9a934.tar.gz
bugzilla-2d57ca9161371bef0259803efb2b2fceb4f9a934.tar.xz
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
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/code-error.html.tmpl5
1 files changed, 5 insertions, 0 deletions
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" %]
<code>[% param FILTER html %]</code> is not a valid parameter