Zend Framework

Undefined property: Zend_XmlRpc_Request::$_xmlRpcParams

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major 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
      */

Activity

Hide
Thomas Weidner added a comment -

Assigned to Matthew

Show
Thomas Weidner added a comment - Assigned to Matthew
Hide
Matthew Weier O'Phinney added a comment -

Scheduling for 1.0.3

Show
Matthew Weier O'Phinney added a comment - Scheduling for 1.0.3
Hide
Matthew Weier O'Phinney added a comment -

In trunk and release branch as of r6884.

Show
Matthew Weier O'Phinney added a comment - In trunk and release branch as of r6884.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
5m
Original Estimate - 5 minutes
Remaining:
5m
Remaining Estimate - 5 minutes
Logged:
Not Specified
Time Spent - Not Specified