getXmlRpcProduct and getProductFromXmlRpc should allow null values for product
member variables since Product is just a carrier object
--------------------------------------------------------------------------------------------------------------------------------------
Key: OODT-353
URL: https://issues.apache.org/jira/browse/OODT-353
Project: OODT
Issue Type: Bug
Components: file manager
Affects Versions: 0.3
Environment: none
Reporter: Brian Foster
Assignee: Brian Foster
Priority: Minor
Fix For: 0.4
The following should not have to happen (take from line 1753 of
XmlRpcFileManagerClient):
{code}
Product product = new Product();
product.setProductName(" ");
product.setProductStructure(" ");
product.setProductType(client.getProductTypeByName(productTypeName));
product.setProductId(productId);
{code}
The following should work:
{code}
Product product = new Product();
product.setProductType(client.getProductTypeByName(productTypeName));
product.setProductId(productId);
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira