Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: $ENV{"HTTP_TRANSFER_ENCODING"} may be undefined in SOAP::Transport::HTTP
https://bugzilla.redhat.com/show_bug.cgi?id=571192
Summary: $ENV{"HTTP_TRANSFER_ENCODING"} may be undefined in SOAP::Transport::HTTP Product: Fedora Version: 12 Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: perl-SOAP-Lite AssignedTo: mmcgrath@redhat.com ReportedBy: uckelman@nomic.net QAContact: extras-qa@fedoraproject.org CC: fedora-perl-devel-list@redhat.com, mmcgrath@redhat.com Classification: Fedora
Description of problem:
I get the following error message when calling Bugzilla's xmlrpc.cgi, which uses SOAP::Transport::HTTP:
[Sun Mar 07 07:17:07 2010] [error] [client 146.50.208.39] [Sun Mar 7 07:17:07 2010] xmlrpc.cgi: Use of uninitialized value $ENV{"HTTP_TRANSFER_ENCODING"} in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.10.0/SOAP/Transport/HTTP.pm line 530.
The offending line looks like this:
my $chunked = ( $ENV{'HTTP_TRANSFER_ENCODING'} =~ /^chunked.*$/ ) || 0;
Since the Transfer-Encoding header will often not be present, wouldn't it be better to first check whether the key we're asking for exists?
my $chunked = (exists $ENV{'HTTP_TRANSFER_ENCODING'} && $ENV{'HTTP_TRANSFER_ENCODING'} =~ /^chunked.*$/ ) || 0;
Version-Release number of selected component (if applicable):
perl-SOAP-Lite-0.710.10-1.fc12.noarch
How reproducible:
Always.
Steps to Reproduce: 1. Load the URL for Bugzilla's xmlrpc.cgi.
Actual results:
Call fails with the above error.
Expected results:
No error.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
Joel Uckelman uckelman@nomic.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|12 |13
--- Comment #1 from Joel Uckelman uckelman@nomic.net 2010-07-09 08:39:56 EDT --- This still happens with perl-SOAP-Lite-0.710.10-1.fc13.noarch in Fedora 13.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
rvalue redhat@burninator.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |redhat@burninator.net
--- Comment #2 from rvalue redhat@burninator.net 2010-10-11 20:34:03 EDT --- Had the same problem with Fedora 13 distribution of Bugzilla & perl-SOAP-Lite packages.
Worked around by undoing my own configuration of Bugzilla to use mod_perl; the default (mod_cgi?) Apache configuration does not exhibit this error for me.
Are you using Bugzilla with mod_perl?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
Paul Howarth paul@city-fan.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |paul@city-fan.org
--- Comment #3 from Paul Howarth paul@city-fan.org 2010-10-12 02:44:44 EDT --- This is reported upstream at https://rt.cpan.org/Public/Bug/Display.html?id=55618 and is supposedly fixed (along with various other issues) in SOAP::Lite 0.712.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #4 from Joel Uckelman uckelman@nomic.net 2010-10-12 04:56:26 EDT --- rvalue: no, I'm not using mod_perl.
Paul: It's good to hear that it's been fixed.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
Iain Arnell iarnell@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |iarnell@gmail.com AssignedTo|mmcgrath@redhat.com |psabata@redhat.com
--- Comment #5 from Iain Arnell iarnell@gmail.com 2011-05-04 02:38:41 EDT --- Re-assigning to Petr has he's the new package owner and has recently built 0.712 in rawhide, but may not have noticed this old bug.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
Petr Sabata psabata@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #6 from Petr Sabata psabata@redhat.com 2011-05-04 03:01:42 EDT --- (In reply to comment #5)
Re-assigning to Petr has he's the new package owner and has recently built 0.712 in rawhide, but may not have noticed this old bug.
No, I haven't. Thanks, Iain.
I'll check if 0.712+ really fixes it and update current Fedoras if appropriate.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #7 from rvalue redhat@burninator.net 2011-05-04 03:24:41 EDT --- I think our BZ machine is still much the same setup if you want me to confirm a fix.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #8 from Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com 2011-05-04 08:05:42 EDT --- This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #9 from Petr Sabata psabata@redhat.com 2011-05-04 08:30:22 EDT --- (In reply to comment #7)
I think our BZ machine is still much the same setup if you want me to confirm a fix.
http://koji.fedoraproject.org/koji/taskinfo?taskID=3049652
Yes, please :) I merged f1[345] with Rawhide, v0.712. Let me know if it works for you. I'll submit an update if it does...
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #10 from rvalue redhat@burninator.net 2011-05-04 10:10:58 EDT --- (In reply to comment #9)
(In reply to comment #7)
I think our BZ machine is still much the same setup if you want me to confirm a fix.
http://koji.fedoraproject.org/koji/taskinfo?taskID=3049652
Yes, please :) I merged f1[345] with Rawhide, v0.712. Let me know if it works for you. I'll submit an update if it does...
* Error reproduced w/ existing install setup
* Attempt to install package from link w/ # rpm -Uvh perl-SOAP-Lite-0.712-3.fc13.noarch.rpm error: Failed dependencies: perl(Class::Inspector) is needed by perl-SOAP-Lite-0.712-3.fc13.noarch
(so, it seems this dependency is introduced with this package?)
* Attempt to install said dependency: # yum install perl-Class-Inspector (runs to completion)
* Re-do install # rpm -Uvh perl-SOAP-Lite-0.712-3.fc13.noarch.rpm Preparing... ########################################### [100%] 1:perl-SOAP-Lite ########################################### [100%]
* Re-started apache # service httpd restart
* The error is no longer being logged, and so I presume this issue is fixed (but I'm still getting a HTTP 411 response trying to access bugzilla/xmlrpc.cgi) - I'll have a look at that in the morning, I guess.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #11 from Petr Sabata psabata@redhat.com 2011-05-04 10:32:22 EDT --- Yes, I changed the dependencies a bit. Thanks for the test. I hope the new error isn't related :)
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #12 from Fedora Update System updates@fedoraproject.org 2011-05-04 10:33:45 EDT --- perl-SOAP-Lite-0.712-3.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/perl-SOAP-Lite-0.712-3.fc13
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #13 from Fedora Update System updates@fedoraproject.org 2011-05-04 10:34:09 EDT --- perl-SOAP-Lite-0.712-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/perl-SOAP-Lite-0.712-3.fc15
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #14 from Petr Sabata psabata@redhat.com 2011-05-04 10:43:51 EDT --- Not creating an update for F14 since the package is 'deprecated' there. There's a code in f14 branch, no reasons stated anywhere.
Would anybody know why?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #15 from Fedora Update System updates@fedoraproject.org 2011-05-05 00:42:56 EDT --- Package perl-SOAP-Lite-0.712-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-SOAP-Lite-0.712-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/perl-SOAP-Lite-0.712-3.fc15 then log in and leave karma (feedback).
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #16 from Marcela Mašláňová mmaslano@redhat.com 2011-05-05 03:32:59 EDT --- https://fedorahosted.org/rel-eng/ticket/4693
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #17 from Fedora Update System updates@fedoraproject.org 2011-05-06 10:13:54 EDT --- perl-SOAP-Lite-0.712-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/perl-SOAP-Lite-0.712-3.fc14
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #18 from Petr Sabata psabata@redhat.com 2011-05-06 10:15:01 EDT --- (In reply to comment #16)
Well, although the package is still orphaned/deprecated, I can release updates for F14. So be it.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #19 from Fedora Update System updates@fedoraproject.org 2011-05-09 23:26:29 EDT --- perl-SOAP-Lite-0.712-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |perl-SOAP-Lite-0.712-3.fc15 Resolution| |ERRATA Last Closed| |2011-05-09 23:26:35
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #20 from Fedora Update System updates@fedoraproject.org 2011-05-13 18:55:42 EDT --- perl-SOAP-Lite-0.712-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|perl-SOAP-Lite-0.712-3.fc15 |perl-SOAP-Lite-0.712-3.fc13
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
--- Comment #21 from Fedora Update System updates@fedoraproject.org 2011-05-16 20:56:26 EDT --- perl-SOAP-Lite-0.712-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=571192
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|perl-SOAP-Lite-0.712-3.fc13 |perl-SOAP-Lite-0.712-3.fc14
perl-devel@lists.fedoraproject.org