Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
Description
Some related record queries when fetching requests do not provide a named query CQL parameter, instead this is provided as the whole query string itself (see example below).
FOLIO collection endpoints typically ignore unexpected query string parameters, and hence treat this as a request for all records. Within small record sets, this makes this difficult to identify, as the expected records are likely found within the first page of all records, and so don't demonstrate unintended behaviour.
This is compounded by the CollectionResourceClient providing a method that accepts a raw query parameter string in it's entirety. This is intended for forwarding of the query string parameters sent by the client directly to storage without needing to parse and re-encode them.
This method will be renamed (and described as deprecated) during this fix, a later change is needed to parse the expected incoming parameters (query, offset and limit) and pass only them on explicitly.
GET http://localhost:9493/service-points?id%3D%3Dcbd124f2-8d39-4406-88e1-a10300e0cceb+OR+id%3D%3Dcbd124f2-8d39-4406-88e1-a10300e0cceb+OR+id%3D%3Dcffbfcb1-2fc6-4fe6-bfd2-01291162add7+OR+id%3D%3Dcffbfcb1-2fc6-4fe6-bfd2-01291162add7+OR+id%3D%3Dcbd124f2-8d39-4406-88e1-a10300e0cceb+OR+id%3D%3Dcbd124f2-8d39-4406-88e1-a10300e0cceb+OR+id%3D%3Dcffbfcb1-2fc6-4fe6-bfd2-01291162add7
TestRail: Results
Attachments
Issue Links
- relates to
-
CIRC-140 Add properties needed by CSV export to requests endpoint
-
- Closed
-
-
CIRC-151 Provide pickup service point name for requests
-
- Closed
-
-
CIRC-156 dereference patron group ID to display the name along with the request
-
- Closed
-
-
UIREQ-114 Export Requests search results to csv - additional data elements
-
- Closed
-