From f0fede65121748fb8b5404a0bdde3616d37eaf51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Fri, 6 May 2011 22:42:31 +0200 Subject: Bug 653341: Bug.create() fails to error out if an invalid group is passed r/a=mkanat --- template/en/default/global/user-error.html.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'template/en/default') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index cda3d2e5d..1dd747f30 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -766,6 +766,13 @@ '[% product FILTER html %]' product can not be restricted to that group. + [% ELSIF error == "group_restriction_not_allowed" %] + [% title = "Group Restriction Not Allowed" %] + You tried to restrict [% terms.abug %] to the "[% name FILTER html %]" + group, but either this group does not exist, or you are not allowed + to restrict [% terms.bugs %] to this group in the "[% product.name FILTER html %]" + product. + [% ELSIF error == "group_not_specified" %] [% title = "Group not specified" %] No group was specified. -- cgit v1.2.1