Closed
Bug 485582
Opened 17 years ago
Closed 17 years ago
XMLRPC Bug.get fails with org.apache.xmlrpc.client.XmlRpcClientException
Categories
(Bugzilla :: WebService, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 477593
People
(Reporter: Frank, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; de-de) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1
Build Identifier: Bugzilla 3.3.3
errow while parse dupe_of when bug has not a value for this from java.
Reproducible: Always
Steps to Reproduce:
1. create a Java programm
XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL("http://.../xmlrpc.cgi"));
client.setTransportFactory(new XmlRpcCommonsTransportFactory(client));
client.setConfig(config);
HashMap<String, String[]> getpar = (HashMap<String, String[]>) paramsget[0];
getpar.put("ids", new String[] { "???" });
result = client.execute("Bug.get", paramsget);
2. execute the programm for a bug that has no dupe_of
Actual Results:
you get an org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse servers response: Failed to parse integer value:
Expected Results:
result containing all fields
the failure is triggerd when <member><name>dupe_of</name><value><int /></value> is parsed
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•