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

Terminal double-quote display inconsistent in some GUI elements.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.x-1.8
    • Fix Version/s: None
    • Component/s: Solr Search
    • Labels:
      None

      Description

      In the parsing and display of facets, should a string end with a double-quote, the double-quote will presently get stripped off, showing the value without the terminal double-quote.

      ... IslandoraSolrResults::formatFilter() could possibly use something of an overhaul: Looks like there may be other issues there regarding boolean operators, with double-quotes being more widely suppressed when boolean operators are present in filters.

      Steps to Reproduce

      1. Enable blocks:
        1. "Islandora facets" and
        2. "Islandora query"
      2. Ingest an object with a label ending with a double-quote.
      3. Configure a facet in Solr to use an untokenized version of the label field (make sure the "minimum count" is set to 1).
      4. Perform a query which should show the previously ingested object in the facets.
      5. Select the label ending in the double-quote to filter results.

      In both the "Islandora query" block and the displayed breadcrumbs, the listed facet is displayed without the terminal double-quote.

      Test Case

      The above "Steps to Reproduce" should result in the "Islandora query" block and breadcrumbs displaying the full value selected from the facets.


      Adam Vessey
      Developer
      discoverygarden inc. | Managing Digital Content

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dpinokrayon Diego Pino Navarro
                Reporter:
                adam.vessey Adam Vessey
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: