From 5fc80f94271780b6ff6d1dbba554df35e803ac51 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 24 Nov 2009 06:09:41 +0000 Subject: Bug 430014: Re-write the code hooks system so that it uses modules instead of individual .pl files Patch by Max Kanat-Alexander (module owner) a=mkanat --- template/en/default/global/code-error.html.tmpl | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'template/en/default/global') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index c1ff61159..d64b3656a 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -143,6 +143,33 @@ An error occurred processing hook [% name FILTER html %] in extension [% extension FILTER html %]: [% errstr FILTER html %] + [% ELSIF error == "extension_must_be_subclass" %] + [% package FILTER html %] from + [% filename FILTER html %] is not a subclass of + [% class FILTER html %]. + + [% ELSIF error == "extension_must_return_name" %] + [% extension FILTER html %] returned + [% returned FILTER html %], which is not a valid name + for an extension. Extensions must return their name, not 1 + or a number. See the documentation of + Bugzilla::Extension + for details. + + [% ELSIF error == "extension_no_name" %] + We did not find a NAME method in + [% package FILTER html %] (loaded from + [% filename FILTER html %]). This means that + the extension has one or more of the following problems: + + + [% ELSIF error == "extern_id_conflict" %] The external ID '[% extern_id FILTER html %]' already exists in the database for '[% username FILTER html %]', but your -- cgit v1.2.3-24-g4f1b