Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 46386
Status: rejected
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: zol [...] dynamodan.com
Cc:
AdminCc:

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



Subject: Problem with warning in gen_id
Date: Tue, 26 May 2009 13:04:29 -0400
To: bug-SOAP-Lite [...] rt.cpan.org
From: Dan Hartman <zol [...] dynamodan.com>
Hello Running perl 5.8.8, SOAP::Lite 0.710.08, on a system Linux dan-devel 2.6.24-23-xen #1 SMP Mon Jan 26 03:09:12 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux I get a string of messages and warnings like this: May 22 10:44:08 scp last message repeated 3 times May 22 10:44:08 scp scpd[1433]: Cannot encode 'value' element as 'hash'. Will be encoded as 'map' instead May 22 10:44:08 scp scpd[1433]: Cannot marshall CODE reference at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 3657 May 22 10:44:08 scp last message repeated 4 times May 22 10:44:08 scp scpd[1433]: Argument "https://api-prod:********@api-prod.zol.co.zw/inovaw..." isn't numeric in sprintf at / usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 1004. May 22 10:44:08 scp scpd[1433]: Argument "https://api-prod:********@api-prod.zol.co.zw/inovaw..." isn't numeric in sprintf at / usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 1004. May 22 10:44:08 scp scpd[1433]: Cannot marshall CODE reference at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 3657 May 22 10:44:08 scp scpd[1433]: Argument "https://api-prod:********@api-prod.zol.co.zw/inovaw..." isn't numeric in sprintf at / usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 1004. May 22 10:44:08 scp scpd[1433]: Argument "https://api-prod:********@api-prod.zol.co.zw/inovaw..." isn't numeric in sprintf at / (The actual password is replaced with ********.) I'm pretty sure that gen_id is getting called from the `as_map` sub. But it's a mystery how or why gen_id is getting called with a string scalar in $_[1]. It seems like $value gets tested to make sure it's not a scalar before going to gen_id. Bottom line is that we don't want the password getting written to our error log by the error that's getting generated. Dan
Subject: Re: [rt.cpan.org #46386] Problem with warning in gen_id
Date: Wed, 27 May 2009 19:35:34 +0200
To: bug-SOAP-Lite [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Hi Dan, could you describe what you tried to do (code example)? I have no idea how you produced these errors - and so it's pretty hard to reproduce and eventually fix them ;-) Martin Am Dienstag, den 26.05.2009, 17:34 -0400 schrieb Dan Hartman via RT: Show quoted text
> Tue May 26 17:34:39 2009: Request 46386 was acted upon. > Transaction: Ticket created by zol@dynamodan.com > Queue: SOAP-Lite > Subject: Problem with warning in gen_id > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: zol@dynamodan.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=46386 > > > > Hello > > Running perl 5.8.8, SOAP::Lite 0.710.08, on a system > Linux dan-devel 2.6.24-23-xen #1 SMP Mon Jan 26 03:09:12 UTC 2009 x86_64 > x86_64 x86_64 GNU/Linux > > I get a string of messages and warnings like this: > > May 22 10:44:08 scp last message repeated 3 times > May 22 10:44:08 scp scpd[1433]: Cannot encode 'value' element as 'hash'. > Will be encoded as 'map' instead > May 22 10:44:08 scp scpd[1433]: Cannot marshall CODE reference at > /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 3657 > May 22 10:44:08 scp last message repeated 4 times > May 22 10:44:08 scp scpd[1433]: Argument > "https://api-prod:********@api-prod.zol.co.zw/inovaw..." isn't numeric > in sprintf at / > usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 1004. > May 22 10:44:08 scp scpd[1433]: Argument > "https://api-prod:********@api-prod.zol.co.zw/inovaw..." isn't numeric > in sprintf at / > usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 1004. > May 22 10:44:08 scp scpd[1433]: Cannot marshall CODE reference at > /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 3657 > May 22 10:44:08 scp scpd[1433]: Argument > "https://api-prod:********@api-prod.zol.co.zw/inovaw..." isn't numeric > in sprintf at / > usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 1004. > May 22 10:44:08 scp scpd[1433]: Argument > "https://api-prod:********@api-prod.zol.co.zw/inovaw..." isn't numeric > in sprintf at / > > (The actual password is replaced with ********.) > > I'm pretty sure that gen_id is getting called from the `as_map` sub. > But it's a mystery how or why gen_id is getting called with a string > scalar in $_[1]. It seems like $value gets tested to make sure it's > not a scalar before going to gen_id. Bottom line is that we don't want > the password getting written to our error log by the error that's > getting generated. > > Dan > >