ZF-4372: Zend_XmlRpc_Client doesn't take into account URI changes

Issue Type: Bug Created: 2008-09-24T13:50:35.000+0000 Last Updated: 2009-03-12T10:54:36.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Mark Steele (mark_steele) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_XmlRpc_Client

Related issues: Attachments:



When calling getHttpClient->setUri($uri) on a Zend_XmlRpc_Client object, subsequent calls are not hitting the correct URL.


Posted by Benjamin Eberlei (beberlei) on 2008-11-07T02:18:47.000+0000

Fixed in trunk.

XmlRpc now checks if the Http Client has an uri set and does not overwrite it in doRequest(). Two testcases have been added that check if the uri is delegated on doRequest to the client if NONE has been specified yet. And another TestCase that the HttpClient Uri is not overwritten if its already set.

Posted by Mark Steele (mark_steele) on 2009-03-12T10:54:35.000+0000

The fix for this bug has created another one.


Basically the Zend_XmlRpc_Client contructor should override the value of the Zend_Http_Client URI instead of current behavior, which ignores the value passed in constructor if an http client is passed to the constructor with a URI set.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.