Zend Framework

Zend_XmlRpc_Client doesn't handle Zend_XmlRpc_Value Objects as parameters

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.5.0RC1
  • Fix Version/s: 1.5.0
  • Component/s: Zend_XmlRpc_Client
  • Labels:
    None
  • Fix Version Priority:
    Should Have

Description

$time = time();
$params = array(
new Zend_XmlRpc_Value_DateTime($time)
);
$result = $client->call('foo.bar', $params);

In Zend_XmlRpc_Request::_getXmlRpcParams() is parameter converted (damaged) via Zend_XmlRpc_Value::getXmlRpcValue to empty array.

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.1.0

Show
Matthew Weier O'Phinney added a comment - Scheduling for 1.1.0
Hide
Sergej Kurakin added a comment -

This patch should solve this issue. UnitTests passed OK on this.

Show
Sergej Kurakin added a comment - This patch should solve this issue. UnitTests passed OK on this.
Hide
Matthew Weier O'Phinney added a comment -

Scheduling for 1.5.0RC2

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

Applied in trunk and release branch, with a corresponding unit test. Oddly, the test ran with or without the patch; I'll look at it in more detail later.

Show
Matthew Weier O'Phinney added a comment - Applied in trunk and release branch, with a corresponding unit test. Oddly, the test ran with or without the patch; I'll look at it in more detail later.

People

Vote (0)
Watch (1)

Dates

  • Due:
    Created:
    Updated:
    Resolved:

Time Tracking

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