Bug #325

Wrong number of returned elements if no error on a XML-RPC VM action

Added by Alexandre Joseph over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:08/23/2010
Priority:Normal Due date:
Assignee:Tino Vázquez % Done:

0%

Category:Client API & Library
Target version:Release 2.0
Resolution:worksforme Affected Version:
Story points-
Velocity based estimate-

Description

When executing an action on a VM using the XML-RPC API (one.vm.action), when there is no error, the API only return one element (the boolean to say that
everything is ok) instead of two elements (the boolean and an empty string).

For information I use python xmlrpclib and I have not tested another library.

History

Updated by Javi Fontan over 1 year ago

  • Status changed from New to Assigned
  • Target version set to Release 2.0

You are right, RequestManager (the part of the core that answers xmlrpc calls) does not add a string to the response. We will change this before final 2.0 release.

Updated by Ruben S. Montero over 1 year ago

  • Status changed from Assigned to Closed
  • Resolution set to worksforme

The API methods are designed in that way. If the call succeed no string is returned.

Also available in: Atom PDF