Subject: | [PATCH] Fix HTTP.pm to allow an undefined endpoint |
Date: | Sat, 4 Feb 2017 19:10:54 +0000 |
To: | "bug-SOAP-WSDL [...] rt.cpan.org" <bug-SOAP-WSDL [...] rt.cpan.org> |
From: | Andrew Bauer <zonexpertconsulting [...] outlook.com> |
Build test failed on Fedora 26 Rawhide, but succeeded in previous releases.
The HTTP.t test returned:
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/8 subtests
Accompanied with:
Can't call method "scheme" on an undefined value at /usr/share/perl5/LWP/UserAgent.pm line 135.
Root cause of the issue was the endpoint was not defined. The assumption is an undefined endpoint should not be fatal, and the patch remedies that. If $endpoint is not defined, then set it to be the empty string. It was not investigated why older Fedora distros do not fail on this, but the patch has been verified to be backwards compatible.
Patch should be attached
Link to full build output:
https://koji.fedoraproject.org/koji/taskinfo?taskID=17569164
Message body is not shown because sender requested not to inline it.