Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0.3
-
Component/s: Zend_XmlRpc_Server
-
Labels:None
-
Fix Version Priority:Must Have
Description
In the main trunk, when using Zend_XmlRpc_Request, I am getting the following error:
Notice: Undefined property: Zend_XmlRpc_Request_Http::$_xmlRpcParams in C:\xampp\htdocs\red5\lib\Zend\XmlRpc\Request.php on line 330
$server = new Zend_XmlRpc_Server(); $server->setClass('MyXmlRpcService'); $response = $server->handle(); $request = $server->getRequest(); // Triggers the error...
Patch file to fix:
--- library/Zend/XmlRpc/Request.php (revision 6610)
+++ library/Zend/XmlRpc/Request.php (working copy)
@@ -77,6 +77,12 @@
protected $_params = array();
/**
+ * XML-RPC Method parameters
+ * @var array
+ */
+ protected $_xmlRpcParams = array();
+
+ /**
* Fault object, if any
* @var Zend_XmlRpc_Fault
*/
Assigned to Matthew