Skip Menu |

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

Report information
The Basics
Id: 59467
Status: resolved
Priority: 0/
Queue: HTML-FormFu

People
Owner: Nobody in particular
Requestors: csjewell [...] cpan.org
softdev [...] leandrohermida.com
Cc: CARNIL [...] cpan.org
jquelin [...] cpan.org
AdminCc:

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



Subject: t/elements/recaptcha.t fails with changes in Captcha::reCaptcha 0.94
(I found this while building Strawberry Perl Professional - I'll skip the tests for the time being, as I'd consider this a test bug. But this does need fixed.) Output from attempted install of HTML::FormFu attached as debug.out and debug.err (for stdout and stderr, respectively) - Captcha::reCAPTCHA 0.94 causes a HTML::FormFu test to fail. Diff between 0.92 and 0.94: http://search.cpan.org/diff?from=Captcha-reCAPTCHA-0.92&to=Captcha-reCAPTCHA-0.94 perl -V output on my system: Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='Win32 strawberryperl 5.10.1.3.beta_2 #1 Wed Jul 14 12:59:00 2010 i386 ' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE - DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_RE ADFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseek size=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\li b"' libpth=C:\strawberry\c\lib libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi3 2 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversio n -lodbc32 -lodbccp32 perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladv api32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lve rsion -lodbc32 -lodbccp32 libc=, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\st rawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Built under MSWin32 Compiled at Jul 14 2010 13:05:11 @INC: C:/strawberry/perl/lib C:/strawberry/perl/site/lib C:\strawberry\perl\vendor\lib . --Curtis Jewell
Subject: debug.out
Download debug.out
application/octet-stream 40.5k

Message body not shown because it is not plain text.

Subject: debug.err
Download debug.err
application/octet-stream 1.5k

Message body not shown because it is not plain text.

Subject: HTML::FormFu make test fails at t/elements/recaptcha.t
When installing HTML::FormFu latest 0.07002 the following test fails: t/elements/recaptcha.t ......................................... 1/1 # Failed test 'stringified form' # at t/elements/recaptcha.t line 28. # got: '<form action="" method="post"> # <div class="recaptcha"> # <span class="elements"> # <script type="text/javascript"> # //<![CDATA[ # var RecaptchaOptions = {}; # //]]> # </script> # <script src="http://www.google.com/recaptcha/api/challenge?k=xxx" type="text/javascript"></script> # <noscript><iframe frameborder="0" height="300" src="http://www.google.com/recaptcha/api/noscript?k=xxx" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript> # </span> # </div> # </form> # ' # expected: '<form action="" method="post"> # <div class="recaptcha"> # <span class="elements"> # <script type="text/javascript"> # //<![CDATA[ # var RecaptchaOptions = {}; # //]]> # </script> # <script src="http://api.recaptcha.net/challenge?k=xxx" type="text/javascript"></script> # <noscript><iframe frameborder="0" height="300" src="http://api.recaptcha.net/noscript?k=xxx" width="500"></iframe><textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea><input name="recaptcha_response_field" type="hidden" value="manual_challenge" /></noscript> # </span> # </div> # </form> # ' # Looks like you failed 1 test of 1. t/elements/recaptcha.t ......................................... Dubious, test returned 1 (wstat 256, 0x100) All other tests pass no problem. perl -v This is perl 5, version 12, subversion 1 (v5.12.1) built for x86_64-linux-thread-multi uname -a Linux 2.6.33.6-147.fc13.x86_64 #1 SMP Tue Jul 6 22:32:17 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
Thanks, this is now fixed in svn, and will be included in the next CPAN release.