[ 
https://issues.apache.org/jira/browse/OODT-615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luca Cinquini resolved OODT-615.
--------------------------------

    Resolution: Fixed

Done, now it returns null if no matching products are found.
                
> SolrCatalog implementation of FileManager throws exception if no product is 
> found
> ---------------------------------------------------------------------------------
>
>                 Key: OODT-615
>                 URL: https://issues.apache.org/jira/browse/OODT-615
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.6
>            Reporter: Luca Cinquini
>            Assignee: Luca Cinquini
>             Fix For: 0.6
>
>
> Currently, the method extractCompleteProduct() of SolrCatalog throws an 
> exception if no matching product is found. The exception propagates all the 
> way up to the XmlRpcFileManager causing the method hasProduct() to fail, 
> instead of returning false.
> Rather the extractCompleteProduct() method should return "null" if the number 
> of documents found by the query is Solr, since this is what is expected by 
> the XmlRpcFileManager.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to