Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1889

Special Characters breaks Islandora SOLR Facet pages and Advanced search block.

    Details

      Description

      When preforming a facet search on the Islandora SOLR facet pages page (ex:

      {site}/browse/{title}) or with the advanced search block, special characters (such as '[' or ']') will throw an 'Error searching Solr index "400" Status: Bad Request'.

      Steps to Reproduce
      - Navigate to a configured SOLR facet page (ex: {site}

      /browse/title) with the facet page search enabled, or the advanced search block

      • Preform a search query with an invalid character (such as 'Lobster[' or 'lobster{{}'). Results pages will throw an error.

      Test Case

      • Follow steps in the 'steps to reproduce' section above.

      -To resolve this, we should only need to implement the usage of a solr utility function islandora_solr_facet_escape() on the search term prior to execution.-

      Some internal discussions reveal this may not be the most appropriate solution.


      Morgan Dawe
      Developer
      discoverygarden inc. | Managing Digital Content

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adam.vessey Adam Vessey
                Reporter:
                morgandawe Morgan Dawe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: