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

apply islandora_solr_replace_slashes to field value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.x-1.6
    • Fix Version/s: 7.x-1.7
    • Component/s: Solr Search
    • Labels:
      None

      Description

      If "Link the value to a Solr search result." is enabled on a field, we should be running islandora_solr_replace_slashes on the field value to ensure the link will not blow up.

      Steps to Reproduce

      • add RELS_EXT_hasModel_uri_s in the solr display settings and enable "Link the value to a Solr search result." on the field.
      • complete a simple solr search in the UI
      • click on the new linked field value.
      • prior to this fix, the link will return a 400 error
      • after this fix is applied, the search will return all the objects having which ever model you clicked on.

      Test Case

      • refer to the 'steps to reproduce'

      Brandon Morrissey
      Developer
      discoverygarden inc. | Managing Digital Content

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                brandonmorr Brandon Morrissey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: