Skip Menu |

This queue is for tickets about the Rose-HTML-Objects CPAN distribution.

Report information
The Basics
Id: 29132
Status: rejected
Priority: 0/
Queue: Rose-HTML-Objects

People
Owner: Nobody in particular
Requestors: cpan [...] funkreich.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.549
Fixed in: (no value)



Subject: Required but empty textarea fields have wrong localization
When submitting a required but empty textarea field with locale() set to e.g. 'de' the error text "foo ist ein Pflichtfeld" is displayed in english "foo is a required field".
On Mon Sep 03 09:48:54 2007, TKREMER wrote: Show quoted text
> When submitting a required but empty textarea field with locale() set to > e.g. 'de' the error text "foo ist ein Pflichtfeld" is displayed in > english "foo is a required field".
Can you give me a failing test case? These tests pass for me: $field = Rose::HTML::Form::Field::TextArea->new(name => 'foo', label => 'Foo', required => 1); $field->validate; is($field->error, 'Foo is a required field.', 'error en'); $field->locale('de'); is($field->error, 'Foo ist ein Pflichtfeld.', 'error de');