Select instance plugin: System Error is shown when search query URI request exceeds character limit

Description

Preconditions:

  • User is logged in with following permissions:

    • Inventory: View instances, holdings, and items

    • Orders: Can create new Orders and Order lines

  • User is on “Select instance” modal, to open it:
    - An Order in pending status exists
    - User has opened Instance plugin (click "Add PO line" on Order details pane and click on "Title look-up" link)
    - "Instance"/”Holdings”/”Item” (reproduced for all the options) tab is selected at "Instance|Holdings|Item" toggle

Steps:

  1. Select "Query search" search option

  2. Fill in the search box with following query:

  3. Click on the "Search" button.

Actual result:

The following error page is shown:

Error: TypeError: Cannot read properties of undefined (reading 'query')

Expected result:

  • Following error message should be displayed in the second pane: "Search URI request character limit has been exceeded. The character limit is 4121. Please revise your search and/or facet selections."

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

4

Checklist

hide

Activity

Show:

Valery_Pilko December 6, 2024 at 2:41 PM
Edited

Verified on Ramsons Bugfest environments - fixed
See attached screenshot:
Okapi:

Eureka:

I’m closing this ticket.
cc: ,

Valery_Pilko December 2, 2024 at 3:51 PM

Verified on Snapshot environment - fixed.
See attached screenshot:

Tetiana Kovalchuk November 28, 2024 at 11:00 AM

, NOTE: to be linked with

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Fix versions

Release

RCA Group

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 28, 2024 at 11:00 AM
Updated February 25, 2025 at 3:24 AM
Resolved January 27, 2025 at 12:19 PM
TestRail: Cases
TestRail: Runs