Bug #325

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

Added by Alexandre Joseph about 10 years ago. Updated about 10 years ago.

Status:ClosedStart date:08/23/2010
Priority:NormalDue date:
Assignee:Tino Vázquez% Done:

0%

Category:Client API & Library
Target version:Release 2.0
Resolution:worksforme Pull request:
Affected Versions:

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

#1 Updated by Javi Fontan about 10 years 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.

#2 Updated by Ruben S. Montero about 10 years 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