You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Luca Cinquini (JIRA)" <ji...@apache.org> on 2013/05/29 15:53:21 UTC

[jira] [Created] (OODT-615) SolrCatalog implementation of FileManager throws exception if no product is found

Luca Cinquini created OODT-615:
----------------------------------

             Summary: 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