summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-05-06 22:42:31 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-05-06 22:42:31 +0200
commitf0fede65121748fb8b5404a0bdde3616d37eaf51 (patch)
treebdb944c3a31f0564459ce390fc94ff4afb5c6b41 /template/en/default
parentc60cce7d4f4f175ddf723d9def271ad9a964034a (diff)
downloadbugzilla-f0fede65121748fb8b5404a0bdde3616d37eaf51.tar.gz
bugzilla-f0fede65121748fb8b5404a0bdde3616d37eaf51.tar.xz
Bug 653341: Bug.create() fails to error out if an invalid group is passed
r/a=mkanat
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/user-error.html.tmpl7
1 files changed, 7 insertions, 0 deletions
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.