Skip Menu |
 

This queue is for tickets about the MIME-tools CPAN distribution.

Report information
The Basics
Id: 11312
Status: resolved
Priority: 0/
Queue: MIME-tools

People
Owner: Nobody in particular
Requestors: karl [...] bigmite.co.uk
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 5.416
Fixed in: 5.420_01



Subject: Error using IO::ScalarArray in mime decoder
Download (untitled) / with headers
text/plain 724b
SOAP::Lite 0.65 fails to pass tests with a deserialisation error. This has been tracked down to the line in the process_singlepart subroutine: ### Flush and rewind encoded buffer, so we can read it: $ENCODED->flush or die "$ME: can't flush: $!"; The IO::Handle::flush method is documented NOT to return anything, therefore the writer of IO::ScalarArray has implemented a skeleton flush() method to be compatible with all other IO classes. This test fails here causing SOAP::Lite to fail its tests. Changing the line to read: $ENCODED->flush; cures the problem. Maybe the IO::Scalar and IO::ScalarArray libraries need fixing and the IO::Handle docs improved but for now lets not get fussy. Yours, Karl Royer
Download (untitled) / with headers
text/plain 104b
Fixed over two years ago in IO-Stringy 2.110. The next release of MIME-tools will require that version.


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.