Skip Menu |

This queue is for tickets about the WWW-Mechanize-Shell CPAN distribution.

Report information
The Basics
Id: 59246
Status: resolved
Priority: 0/
Queue: WWW-Mechanize-Shell

People
Owner: Nobody in particular
Requestors: l.butler [...] ed.ac.uk
Cc: ANSGAR [...] cpan.org
CARNIL [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.48
Fixed in: (no value)



Subject: testsuite fails in check-dumpresponse
Data: WWW::Mechanize::Shell v 0.48 WWW::Mechanize v 1.64 LWP v 5.836 perl --version This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi (with 45 registered patches, see perl -V for more detail) uname -a Linux squeeeze 2.6.32-3-686 #1 SMP Thu Feb 25 06:14:20 UTC 2010 i686 GNU/Linux See the attached file for the complete test output, including where the test fails.
Subject: www-mechanize-shell-bug-report
Download www-mechanize-shell-bug-report
application/octet-stream 4.2k

Message body not shown because it is not plain text.

Subject: [rt.cpan.org #59246] [PATCH] testsuite fails in check-dumpresponse
Date: Thu, 05 Aug 2010 20:38:14 +0900
To: bug-WWW-Mechanize-Shell [...] rt.cpan.org
From: Ansgar Burchardt <ANSGAR [...] cpan.org>
Hi, I found out why the test fails: LWP::UserAgent::request seems to be called in list context now. $_[-1] as passed to the post wrapper function by Hook::LexWrapper then contains an ArrayRef instead of the object. I prepared a patch to change the response_dumper function to also work when passed an array. Please consider applying it for the next release. There is also a second patch fixing a smell spelling error in the documentation. Regards, Ansgar

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Fixed with 0.49 Many thanks for the patch! -max