Page 1 of 1

Update "note" field issue

Posted: Mon Apr 06, 2009 6:42 pm
by sbhardwaj
I am not able to update "note" field through java API or python client. Here is a snippet of java code I am using.

XmlRpcClient rpcClient;
XmlRpcClientConfigImpl config;

config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL(SERVER_URL));
rpcClient = new XmlRpcClient();
rpcClient.setConfig(config);

ArrayList<Object> params = new ArrayList<Object>();
Hashtable<String, Object> executionData = new Hashtable<String, Object>();
executionData.put("devKey", DEV_KEY);
executionData.put("tcid", tcid);
executionData.put("tpid", tpid);
executionData.put("status", status);
executionData.put("note", testpath);
params.add(executionData);

Object[] result = (Object[]) rpcClient.execute("tl.reportTCResult", params);


Test case status, buildid etc. all get updated except the note field.

Thanks.