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

Escaping (using a backslash) a colon breaks Islandora Solr breadcrumbs in a bad way

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.x-1.10, 7.x-1.11, 7.x-1.12
    • Fix Version/s: None
    • Component/s: Solr Search
    • Labels:
      None

      Description

      If you use:
      islandora\:root in a simple search box (and press enter or press the search button), you get
      Notice: Undefined offset: 1 in IslandoraSolrResults->setBreadcrumbs() (line 447 of /var/www/drupal/sites/all/modules/islandora_solr_search/includes/results.inc). and also an empty breadcrumb with an

      Since
      islandora:root, the token, can not be used to search for *islandora:root *, the value, because colon is a reserved character in Solr, and the way to deal with that is either escape (that backslash i used) the "thing" or add double quotes like in "islandora:root", but i don't have enough twitter followers to spread the word and convince all our repo users to add the double quotes in the presence of the need to search for a : , i personally feel this is a bug (also the red error message makes me feel so). Thanks.

      Invoking Jared Whiklo since he could reproduce this too.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            dpinokrayon Diego Pino Navarro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support