Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-615

SolrCatalog implementation of FileManager throws exception if no product is found

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.6
    • file manager
    • None
    • Don't Know (Unsure) - The default level

    Description

      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.

      Attachments

        Activity

          People

            cinquini Luca Cinquini
            cinquini Luca Cinquini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment