Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 75646
Status: resolved
Priority: 0/
Queue: HTML-FormHandler

People
Owner: Nobody in particular
Requestors: LUKAST [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.40001
Fixed in: (no value)



Subject: t/render/compound2.t fails on german systems
Download (untitled) / with headers
text/plain 638b
make test of HFH 0.040001 fails on linux systems with $LANGUAGE set to german. The reason seems to be that a test in t/render/compound2.t tries to validate an error message, but it ignores that the error message is translated. Installation with #cpan -f HTML::FormHandler should be safe. To reproduce the bug, run: $ export LANGUAGE=de_DE.utf8 $ prove /t/render/compound2.t The bug was seen on Debian/stable, Debian/unstable and Scientific Linux 6, which is RedHat based. Other languages were not tested, but I guess they fail as well. The bug can be fixed by overwriting $ENV{LANGUAGE}. See the attached patch. cheers, Lukas
Subject: t_render_compound2.patch
--- HTML-FormHandler-0.40001/t/render/compound2.t 2012-03-08 01:12:13.000000000 +0100 +++ HTML-FormHandler-0.40001-patched/t/render/compound2.t 2012-03-09 13:57:52.454969413 +0100 @@ -47,6 +47,7 @@ } +$ENV{LANGUAGE} = "en_US"; my $form = MyApp::Form::Password->new; ok( $form, 'form built' ); $form->process( params => { email => 'joe@nowhere.com', 'password.password' => '12345', 'password.again' => '54321' } );
Fixed.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.