Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4010

Query parameter on discover endpoint doesn't work as expected

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Not Required

      Description

      When entering a query parameter into the discover endpoint for the DSpace REST API v7, there is some escaping going on in the code which breaks the query for simple parameters like:
      https://dspace7.4science.it/dspace-spring-rest/#https://dspace7.4science.it/dspace-spring-rest/api/discover/search/objects?query=dc.date.issued:"2015-08-27"
      This currently does not return any results, even though it should because of this item: https://dspace7.4science.it/dspace-spring-rest/#https://dspace7.4science.it/dspace-spring-rest/api/core/items/bb915fe5-0d64-4878-9ab5-1ccac3afa955
      To resolve this issue, I've thrown away the escaping that is being done in one of the REST specific classes before it is turned into a DiscoverQuery so that the functionality is exactly the same as it has always been in previous DSpace versions.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              raf.ponsaerts-atmire Raf Ponsaerts (Atmire)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: