From: mkanat%bugzilla.org <> Date: Fri, 3 Oct 2008 19:25:12 +0000 (+0000) Subject: Fix some test failures caused by the Field::Choice patches. X-Git-Tag: bugzilla-3.3.1~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5cb44116816d837adebd28519c325ec8c3dd754;p=thirdparty%2Fbugzilla.git Fix some test failures caused by the Field::Choice patches. --- diff --git a/template/en/default/admin/fieldvalues/create.html.tmpl b/template/en/default/admin/fieldvalues/create.html.tmpl index 9d318cd1db..bd6c427e6d 100644 --- a/template/en/default/admin/fieldvalues/create.html.tmpl +++ b/template/en/default/admin/fieldvalues/create.html.tmpl @@ -34,8 +34,10 @@ - + diff --git a/template/en/default/admin/fieldvalues/edit.html.tmpl b/template/en/default/admin/fieldvalues/edit.html.tmpl index 29f881ec83..f123838665 100644 --- a/template/en/default/admin/fieldvalues/edit.html.tmpl +++ b/template/en/default/admin/fieldvalues/edit.html.tmpl @@ -40,7 +40,7 @@ [%- value.name FILTER html %] [% ELSE %] [% END %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index c7b83e334e..1b737744c3 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -441,9 +441,9 @@ [% ELSIF error == "fieldvalue_name_too_long" %] [% title = "Field Value Is Too Long" %] - The value of a field is limited to [% constants.FIELD_VALUE_MAX_SIZE %] - characters. '[% value FILTER html %]' is too long ([% value.length %] - characters). + The value of a field is limited to + [%+ constants.FIELD_VALUE_MAX_SIZE FILTER none %] characters. + '[% value FILTER html %]' is too long ([% value.length %] characters). [% ELSIF error == "fieldvalue_not_editable" %] [% title = "Field Value Not Editable" %] @@ -1667,6 +1667,6 @@ field [% ELSIF ( matches = class.match('^Bugzilla::Field::Choice::(.+)') ) %] [% SET field_name = matches.0 %] - [% field_descs.$field_name %] + [% field_descs.$field_name FILTER html %] [% END %] [% END %]
+ +