Skip Menu |

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

Report information
The Basics
Id: 32971
Status: resolved
Priority: 0/
Queue: SOAP-Lite

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

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



Subject: Undefined subroutine &Apache::Constant::BAD_REQUEST called
Hi, at least in SOAP::Lite 0.70_04 Undefined subroutine &Apache::Constant::BAD_REQUEST called /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP.pm line 696.\n for mod_perl 1 the sub is called Apache::Constants::BAD_REQUEST patch attached -- Boris
Subject: badrequest.diff
diff -Nur a/SOAP-Lite-0.70_04/lib/SOAP/Transport/HTTP.pm b/SOAP-Lite-0.70_04/lib/SOAP/Transport/HTTP.pm --- a/SOAP-Lite-0.70_04/lib/SOAP/Transport/HTTP.pm 2007-12-21 09:11:06.000000000 +0100 +++ b/SOAP-Lite-0.70_04/lib/SOAP/Transport/HTTP.pm 2008-02-06 19:02:09.000000000 +0100 @@ -693,7 +693,7 @@ # throw appropriate error for mod_perl 2 return Apache2::Const::HTTP_BAD_REQUEST() if ($self->{'MOD_PERL_VERSION'} >= 2); - return Apache::Constant::BAD_REQUEST(); + return Apache::Constants::BAD_REQUEST(); } $self->request(HTTP::Request->new(
Applied in CVS. Thanks for reporting, Martin